HttpServerConnection

Members

Functions

upgradeHttpTunnel
void upgradeHttpTunnel(Promise!HttpTunnelConnection promise)
Undocumented in source.
upgradeHttpTunnel
FuturePromise!HttpTunnelConnection upgradeHttpTunnel()
Undocumented in source.

Inherited Members

From HttpConnection

NAME
enum string NAME;
Undocumented in source.
getId
int getId()
Undocumented in source.
getTcpConnection
Connection getTcpConnection()
Undocumented in source.
getHttpVersion
HttpVersion getHttpVersion()
Undocumented in source.
getLocalAddress
Address getLocalAddress()
Undocumented in source.
getRemoteAddress
Address getRemoteAddress()
Undocumented in source.
onClose
HttpConnection onClose(Action1!(HttpConnection) handler)
Undocumented in source.
onException
HttpConnection onException(Action2!(HttpConnection, Exception) handler)
Undocumented in source.
getAttribute
Object getAttribute(string key)

Returns the value of the user-defined attribute of this connection.

setAttribute
void setAttribute(string key, Object value)

Sets a user-defined attribute.

removeAttribute
Object removeAttribute(string key)

Removes a user-defined attribute with the specified key.

containsAttribute
bool containsAttribute(string key)

@param key The key of the attribute we are looking for in the connection @return <tt>true</tt> if this connection contains the attribute with the specified <tt>key</tt>.

Meta