QuotedCSV

Implements a quoted comma separated list of values in accordance with RFC7230. OWS is removed and quoted characters ignored for parsing.

@see "https://tools.ietf.org/html/rfc7230#section-3.2.6" @see "https://tools.ietf.org/html/rfc7230#section-7"

Constructors

this
this(string[] values)
Undocumented in source.
this
this(bool keepQuotes, string[] values)
Undocumented in source.

Members

Functions

addValue
void addValue(string value)

Add and parse a value string(s)

getValues
string[] getValues()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref string) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
parsedParam
void parsedParam(StringBuilder , int valueLength, int paramName, int paramValue)

Called when a parameter has been parsed

parsedValue
void parsedValue(StringBuilder buffer)

Called when a value has been parsed

size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

unquote
string unquote(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_keepQuotes
bool _keepQuotes;
Undocumented in source.
_values
Array!string _values;
Undocumented in source.

Meta