AbstractExtension

Constructors

this
this()
Undocumented in source.

Members

Functions

dump
void dump(Appendable ot, string indent)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpWithHeading
void dumpWithHeading(Appendable ot, string indent, string heading, Object bean)
Undocumented in source. Be warned that the author may not have intended to support it.
getConfig
ExtensionConfig getConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
getName
string getName()
Undocumented in source. Be warned that the author may not have intended to support it.
getNextIncoming
IncomingFrames getNextIncoming()
Undocumented in source. Be warned that the author may not have intended to support it.
getNextOutgoing
OutgoingFrames getNextOutgoing()
Undocumented in source. Be warned that the author may not have intended to support it.
getPolicy
WebSocketPolicy getPolicy()
Undocumented in source. Be warned that the author may not have intended to support it.
incomingError
void incomingError(Exception e)
Undocumented in source. Be warned that the author may not have intended to support it.
isRsv1User
bool isRsv1User()

Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV1.

isRsv2User
bool isRsv2User()

Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV2.

isRsv3User
bool isRsv3User()

Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV3.

nextIncomingError
void nextIncomingError(Exception e)
Undocumented in source. Be warned that the author may not have intended to support it.
nextIncomingFrame
void nextIncomingFrame(WebSocketFrame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
nextOutgoingFrame
void nextOutgoingFrame(WebSocketFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setConfig
void setConfig(ExtensionConfig config)
Undocumented in source. Be warned that the author may not have intended to support it.
setNextIncomingFrames
void setNextIncomingFrames(IncomingFrames nextIncoming)
Undocumented in source. Be warned that the author may not have intended to support it.
setNextOutgoingFrames
void setNextOutgoingFrames(OutgoingFrames nextOutgoing)
Undocumented in source. Be warned that the author may not have intended to support it.
setPolicy
void setPolicy(WebSocketPolicy policy)
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.

Inherited Members

From Extension

getConfig
ExtensionConfig getConfig()

The active configuration for this extension.

getName
string getName()

The <code>Sec-WebSocket-Extensions</code> name for this extension. <p> Also known as the <a href="https://tools.ietf.org/html/rfc6455#section-9.1"><code>extension-token</code> per Section 9.1. Negotiating Extensions</a>.

isRsv1User
bool isRsv1User()

Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV1.

isRsv2User
bool isRsv2User()

Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV2.

isRsv3User
bool isRsv3User()

Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing. <p> This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV3.

setNextIncomingFrames
void setNextIncomingFrames(IncomingFrames nextIncoming)

Set the next {@link IncomingFrames} to call in the chain.

setNextOutgoingFrames
void setNextOutgoingFrames(OutgoingFrames nextOutgoing)

Set the next {@link OutgoingFrames} to call in the chain.

Meta