Libuv Class

Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking
Assemblies
  • Microsoft.AspNetCore.Server.Kestrel

Syntax

public class Libuv
class Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv

Constructors

Libuv()
public Libuv()

Methods

Check(System.Int32)
Return type:System.Int32
public int Check(int statusCode)
Check(System.Int32, out System.Exception)
Return type:System.Int32
public int Check(int statusCode, out Exception error)
accept(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle)
public void accept(UvStreamHandle server, UvStreamHandle client)
async_init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_async_cb)
public void async_init(UvLoopHandle loop, UvAsyncHandle handle, Libuv.uv_async_cb cb)
async_send(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle)
public void async_send(UvAsyncHandle handle)
buf_init(System.IntPtr, System.Int32)
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t
public Libuv.uv_buf_t buf_init(IntPtr memory, int len)
close(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_close_cb)
public void close(UvHandle handle, Libuv.uv_close_cb close_cb)
close(System.IntPtr, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_close_cb)
public void close(IntPtr handle, Libuv.uv_close_cb close_cb)
err_name(System.Int32)
Return type:System.String
public string err_name(int err)
handle_size(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.HandleType)
Return type:System.Int32
public int handle_size(Libuv.HandleType handleType)
ip4_addr(System.String, System.Int32, out Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr, out System.Exception)
Return type:System.Int32
public int ip4_addr(string ip, int port, out SockAddr addr, out Exception error)
ip6_addr(System.String, System.Int32, out Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr, out System.Exception)
Return type:System.Int32
public int ip6_addr(string ip, int port, out SockAddr addr, out Exception error)
listen(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, System.Int32, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_connection_cb)
public void listen(UvStreamHandle handle, int backlog, Libuv.uv_connection_cb cb)
loop_close(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle)
public void loop_close(UvLoopHandle handle)
loop_init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle)
public void loop_init(UvLoopHandle handle)
loop_size()
Return type:System.Int32
public int loop_size()
pipe_bind(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle, System.String)
public void pipe_bind(UvPipeHandle handle, string name)
pipe_connect(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvConnectRequest, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle, System.String, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_connect_cb)
public void pipe_connect(UvConnectRequest req, UvPipeHandle handle, string name, Libuv.uv_connect_cb cb)
pipe_init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle, System.Boolean)
public void pipe_init(UvLoopHandle loop, UvPipeHandle handle, bool ipc)
pipe_pending_count(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle)
Return type:System.Int32
public int pipe_pending_count(UvPipeHandle handle)
read_start(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_alloc_cb, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_read_cb)
public void read_start(UvStreamHandle handle, Libuv.uv_alloc_cb alloc_cb, Libuv.uv_read_cb read_cb)
read_stop(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle)
public void read_stop(UvStreamHandle handle)
ref(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle)
public void ref(UvHandle handle)
req_size(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.RequestType)
Return type:System.Int32
public int req_size(Libuv.RequestType reqType)
run(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, System.Int32)
Return type:System.Int32
public int run(UvLoopHandle handle, int mode)
shutdown(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvShutdownReq, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_shutdown_cb)
public void shutdown(UvShutdownReq req, UvStreamHandle handle, Libuv.uv_shutdown_cb cb)
stop(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle)
public void stop(UvLoopHandle handle)
strerror(System.Int32)
Return type:System.String
public string strerror(int err)
tcp_bind(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle, ref Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr, System.Int32)
public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags)
tcp_getpeername(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle, out Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr, ref System.Int32)
public void tcp_getpeername(UvTcpHandle handle, out SockAddr addr, ref int namelen)
tcp_getsockname(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle, out Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr, ref System.Int32)
public void tcp_getsockname(UvTcpHandle handle, out SockAddr addr, ref int namelen)
tcp_init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle)
public void tcp_init(UvLoopHandle loop, UvTcpHandle handle)
tcp_nodelay(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle, System.Boolean)
public void tcp_nodelay(UvTcpHandle handle, bool enable)
tcp_open(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle, System.IntPtr)
public void tcp_open(UvTcpHandle handle, IntPtr hSocket)
try_write(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t[], System.Int32)
Return type:System.Int32
public int try_write(UvStreamHandle handle, Libuv.uv_buf_t[] bufs, int nbufs)
unref(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle)
public void unref(UvHandle handle)
unsafe_async_send(System.IntPtr)
public void unsafe_async_send(IntPtr handle)
uv_fileno(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle, ref System.IntPtr)
Return type:System.Int32
public int uv_fileno(UvHandle handle, ref IntPtr socket)
walk(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_walk_cb, System.IntPtr)
public void walk(UvLoopHandle loop, Libuv.uv_walk_cb walk_cb, IntPtr arg)
write(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvRequest, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t*, System.Int32, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_write_cb)
public void write(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t*bufs, int nbufs, Libuv.uv_write_cb cb)
write2(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvRequest, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t*, System.Int32, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_write_cb)
public void write2(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t*bufs, int nbufs, UvStreamHandle sendHandle, Libuv.uv_write_cb cb)

Fields

IsWindows()
Return type:System.Boolean
public readonly bool IsWindows
_uv_accept()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle>
protected Func<UvStreamHandle, UvStreamHandle, int> _uv_accept
_uv_async_init()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, UvAsyncHandle, Libuv.uv_async_cb, int> _uv_async_init
_uv_async_send()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle>
protected Func<UvAsyncHandle, int> _uv_async_send
_uv_close()
Return type:System.Action<System.IntPtr>
protected Action<IntPtr, Libuv.uv_close_cb> _uv_close
_uv_err_name()
Return type:System.Func<System.Int32>
protected Func<int, IntPtr> _uv_err_name
_uv_fileno()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_fileno_func
protected Libuv.uv_fileno_func _uv_fileno
_uv_handle_size()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.HandleType>
protected Func<Libuv.HandleType, int> _uv_handle_size
_uv_ip4_addr()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_ip4_addr_func
protected Libuv.uv_ip4_addr_func _uv_ip4_addr
_uv_ip6_addr()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_ip6_addr_func
protected Libuv.uv_ip6_addr_func _uv_ip6_addr
_uv_listen()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle>
protected Func<UvStreamHandle, int, Libuv.uv_connection_cb, int> _uv_listen
_uv_loop_close()
Return type:System.Func<System.IntPtr>
protected Func<IntPtr, int> _uv_loop_close
_uv_loop_init()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, int> _uv_loop_init
_uv_loop_size()
Return type:System.Func<System.Int32>
protected Func<int> _uv_loop_size
_uv_pipe_bind()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle>
protected Func<UvPipeHandle, string, int> _uv_pipe_bind
_uv_pipe_connect()
Return type:System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvConnectRequest>
protected Action<UvConnectRequest, UvPipeHandle, string, Libuv.uv_connect_cb> _uv_pipe_connect
_uv_pipe_init()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, UvPipeHandle, int, int> _uv_pipe_init
_uv_pipe_pending_count()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvPipeHandle>
protected Func<UvPipeHandle, int> _uv_pipe_pending_count
_uv_read_start()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle>
protected Func<UvStreamHandle, Libuv.uv_alloc_cb, Libuv.uv_read_cb, int> _uv_read_start
_uv_read_stop()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle>
protected Func<UvStreamHandle, int> _uv_read_stop
_uv_ref()
Return type:System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle>
protected Action<UvHandle> _uv_ref
_uv_req_size()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.RequestType>
protected Func<Libuv.RequestType, int> _uv_req_size
_uv_run()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, int, int> _uv_run
_uv_shutdown()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvShutdownReq>
protected Func<UvShutdownReq, UvStreamHandle, Libuv.uv_shutdown_cb, int> _uv_shutdown
_uv_stop()
Return type:System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Action<UvLoopHandle> _uv_stop
_uv_strerror()
Return type:System.Func<System.Int32>
protected Func<int, IntPtr> _uv_strerror
_uv_tcp_bind()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_tcp_bind_func
protected Libuv.uv_tcp_bind_func _uv_tcp_bind
_uv_tcp_getpeername()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_tcp_getpeername_func
protected Libuv.uv_tcp_getpeername_func _uv_tcp_getpeername
_uv_tcp_getsockname()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_tcp_getsockname_func
protected Libuv.uv_tcp_getsockname_func _uv_tcp_getsockname
_uv_tcp_init()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, UvTcpHandle, int> _uv_tcp_init
_uv_tcp_nodelay()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle>
protected Func<UvTcpHandle, int, int> _uv_tcp_nodelay
_uv_tcp_open()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle>
protected Func<UvTcpHandle, IntPtr, int> _uv_tcp_open
_uv_try_write()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle>
protected Func<UvStreamHandle, Libuv.uv_buf_t[], int, int> _uv_try_write
_uv_unref()
Return type:System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandle>
protected Action<UvHandle> _uv_unref
_uv_unsafe_async_send()
Return type:System.Func<System.IntPtr>
protected Func<IntPtr, int> _uv_unsafe_async_send
_uv_walk()
Return type:System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle>
protected Func<UvLoopHandle, Libuv.uv_walk_cb, IntPtr, int> _uv_walk
_uv_write()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_write_func
protected Libuv.uv_write_func _uv_write
_uv_write2()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_write2_func
protected Libuv.uv_write2_func _uv_write2