HttpConnection

Undocumented in source.

Members

Functions

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>.

getAttribute
Object getAttribute(string key)

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

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

Removes a user-defined attribute with the specified key.

setAttribute
void setAttribute(string key, Object value)

Sets a user-defined attribute.

Variables

NAME
enum string NAME;
Undocumented in source.

Meta