public void Accept(UvStreamHandle handle) { _uv.accept(this, handle); }
public Uv.uv_buf_t AllocCallback(UvStreamHandle dispatchPipe, int suggestedSize) { return(dispatchPipe.Libuv.buf_init(_bufPtr + _bytesRead, _bufferLength - _bytesRead)); }
protected virtual void DispatchConnection(UvStreamHandle socket) { // REVIEW: This task should be tracked by the server for graceful shutdown // Today it's handled specifically for http but not for aribitrary middleware _ = HandleConnectionAsync(socket); }