vibe.core.drivers.libevent2_tcp

TCP side of the libevent driver

For the base driver implementation, see vibe.core.drivers.libevent2.

Public Imports

vibe.core.core
public import vibe.core.core;
Undocumented in source.

Members

Aliases

TCPContextAlloc
alias TCPContextAlloc = FreeListObjectAlloc!(TCPContext, false, true)
Undocumented in source.
UncaughtException
alias UncaughtException = Throwable
UncaughtException
alias UncaughtException = Exception
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Classes

Libevent2TCPConnection
class Libevent2TCPConnection
Undocumented in source.
Libevent2TCPListener
class Libevent2TCPListener
Undocumented in source.

Enums

ConnectionState
enum ConnectionState
Undocumented in source.

Functions

onConnect
void onConnect(evutil_socket_t listenfd, short evtype, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
onSocketEvent
void onSocketEvent(bufferevent* buf_event, short status, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
onSocketRead
void onSocketRead(bufferevent* buf_event, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
onSocketWrite
void onSocketWrite(bufferevent* buf_event, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
removeFromArray
void removeFromArray(T[] array, T item)

private

Structs

TCPContext
struct TCPContext

Meta

Authors

Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.