LibasyncTCPConnection

Undocumented in source.

Constructors

this
this(AsyncTCPConnection conn, void delegate(TCPConnection) @(safe) cb)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
handler
void handler(TCPEvent ev)
Undocumented in source. Be warned that the author may not have intended to support it.
onConnect
void onConnect()
Undocumented in source. Be warned that the author may not have intended to support it.
peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode )
Undocumented in source. Be warned that the author may not have intended to support it.
readChunk
ubyte[] readChunk(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
waitForData
bool waitForData(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] bytes_, IOMode )
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

connected
bool connected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
keepAlive
bool keepAlive [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
keepAlive
bool keepAlive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
localAddress
NetworkAddress localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
peerAddress
string peerAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration readTimeout [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration readTimeout [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
remoteAddress
NetworkAddress remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tcpNoDelay
bool tcpNoDelay [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
tcpNoDelay
bool tcpNoDelay [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Settings
struct Settings
Undocumented in source.
TCPConnectionImpl
struct TCPConnectionImpl
Undocumented in source.
Waiter
struct Waiter
Undocumented in source.

Meta