VibeCoreConnection

Connection implementation.

Constructors

this
this(VibeCoreLogger logger)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
bool connect(InternetAddress address)
Undocumented in source. Be warned that the author may not have intended to support it.
duplexPipe
void duplexPipe(Connection otherConnection, uint clientId)
Undocumented in source.
pipe
void pipe(VibeCoreConnection src, VibeCoreConnection dst, uint clientId)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
ptrdiff_t receive(void[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
send
ptrdiff_t send(const(void)[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

localAddress
InternetAddress localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
remoteAddress
InternetAddress remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Connection

localAddress
InternetAddress localAddress [@property getter]

Local address

remoteAddress
InternetAddress remoteAddress [@property getter]

Remote address

send
ptrdiff_t send(const(void)[] buf)

Send data

receive
ptrdiff_t receive(void[] buf)

Receive data

connect
bool connect(InternetAddress address)

Connect to address

close
void close()

Close connection

duplexPipe
void duplexPipe(Connection otherConnection, uint clientId)

perform bi-directional pipe

Meta