ExtensionConfig

Represents an Extension Configuration, as seen during the connection Handshake process.

Constructors

this
this(ExtensionConfig copy)

Copy constructor

this
this(string parameterizedName)
Undocumented in source.

Members

Functions

getName
string getName()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
int getParameter(string key, int defValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
string getParameter(string key, string defValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterKeys
InputRange!string getParameterKeys()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterizedName
string getParameterizedName()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameters
Map!(string, string) getParameters()

Return parameters found in request URI.

initialize
void initialize(ExtensionConfig other)

Initialize the parameters on this config from the other configuration.

setParameter
void setParameter(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameter
void setParameter(string key, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameter
void setParameter(string key, string value)
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

parse
ExtensionConfig parse(string parameterizedName)

Parse a single parameterized name.

parseEnum
Array!ExtensionConfig parseEnum(InputRange!string valuesEnum)

Parse enumeration of <code>Sec-WebSocket-Extensions</code> header values into a {@link ExtensionConfig} list

toHeaderValue
string toHeaderValue(ExtensionConfig[] configs)

Convert a list of {@link ExtensionConfig} to a header value

Meta