UvStreamHandle Class¶
- Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking- Assemblies
- Microsoft.AspNetCore.Server.Kestrel
Inheritance Hierarchy¶
System.ObjectSystem.Runtime.ConstrainedExecution.CriticalFinalizerObjectSystem.Runtime.InteropServices.SafeHandleMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvMemoryMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandleMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle
Syntax¶
public abstract class UvStreamHandle : UvHandle, IDisposable
-
class
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle
Constructors¶
-
UvStreamHandle(Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.IKestrelTrace)¶ protected UvStreamHandle(IKestrelTrace logger)
-
Methods¶
-
Accept(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle)¶ public void Accept(UvStreamHandle handle)
-
Listen(System.Int32, System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, System.Int32, System.Exception, System.Object>, System.Object)¶ public void Listen(int backlog, Action<UvStreamHandle, int, Exception, object> callback, object state)
-
ReadStart(System.Func<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, System.Int32, System.Object, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t>, System.Action<Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle, System.Int32, System.Object>, System.Object)¶ public void ReadStart(Func<UvStreamHandle, int, object, Libuv.uv_buf_t> allocCallback, Action<UvStreamHandle, int, object> readCallback, object state)
-
ReadStop()¶ public void ReadStop()
-
ReleaseHandle()¶ Return type: System.Boolean protected override bool ReleaseHandle()
-
TryWrite(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.uv_buf_t)¶ Return type: System.Int32 public int TryWrite(Libuv.uv_buf_t buf)
-
Properties¶
-
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandle.Connection¶ Return type: Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Connection public Connection Connection { get; set; }
-