diff --git a/examples/http-server-fibers.d b/examples/http-server-fibers.d index 891b79c..9f1dbff 100644 --- a/examples/http-server-fibers.d +++ b/examples/http-server-fibers.d @@ -191,7 +191,7 @@ void main() eventDriver.core.processEvents(Duration.max); } -void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client) +void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client, scope RefAddress) @trusted /*@nogc*/ nothrow { import core.stdc.stdlib; auto handler = cast(ClientHandler*)calloc(1, ClientHandler.sizeof); diff --git a/examples/http-server.d b/examples/http-server.d index 1828459..44ab8c5 100644 --- a/examples/http-server.d +++ b/examples/http-server.d @@ -25,7 +25,7 @@ void main() eventDriver.core.processEvents(Duration.max); } -void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client) +void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client, scope RefAddress) @trusted /*@nogc*/ nothrow { import core.stdc.stdlib; auto handler = cast(ClientHandler*)calloc(1, ClientHandler.sizeof);