msgraph.httpd.sockhelper
Socket helper functions
License:
BSL-1.0.
- package(msgraph.httpd) nothrow @trusted bool
select
(Socket sock, scope bool* readable, scope bool* writable, scope bool* err, Duration timeout); - package(msgraph.httpd) nothrow @trusted void
select
(Socket sock, scope void delegate() nothrow @nogc @safe onReadable, scope void delegate() nothrow @nogc @safe onWritable, scope void delegate() nothrow @nogc @safe onError, Duration timeout = 0.msecs); - package(msgraph.httpd) nothrow @trusted bool
waitReadable
(Socket sock, Duration timeout); - package(msgraph.httpd) nothrow @trusted bool
waitWritable
(Socket sock, Duration timeout); - package(msgraph.httpd) nothrow @trusted void
setRecvTimeout
(Socket sock, Duration timeout); - package(msgraph.httpd) nothrow @trusted void
setSendTimeout
(Socket sock, Duration timeout);