SocketInput Class

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

Syntax

public class SocketInput : ICriticalNotifyCompletion, INotifyCompletion, IDisposable
class Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketInput

Constructors

SocketInput(Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.MemoryPool, Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.IThreadPool, Microsoft.AspNetCore.Server.Kestrel.Internal.Http.IBufferSizeControl)
public SocketInput(MemoryPool memory, IThreadPool threadPool, IBufferSizeControl bufferSizeControl = null)

Methods

AbortAwaiting()
public void AbortAwaiting()
CompleteAwaiting()
public void CompleteAwaiting()
ConsumingComplete(Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.MemoryPoolIterator, Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.MemoryPoolIterator)
public void ConsumingComplete(MemoryPoolIterator consumed, MemoryPoolIterator examined)
ConsumingStart()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.MemoryPoolIterator
public MemoryPoolIterator ConsumingStart()
Dispose()
public void Dispose()
GetAwaiter()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketInput
public SocketInput GetAwaiter()
GetResult()
public void GetResult()
IncomingComplete(System.Int32, System.Exception)
public void IncomingComplete(int count, Exception error)
IncomingData(System.Byte[], System.Int32, System.Int32)
public void IncomingData(byte[] buffer, int offset, int count)
IncomingDeferred()
public void IncomingDeferred()
IncomingFin()
public void IncomingFin()
IncomingStart()
Return type:Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.MemoryPoolBlock
public MemoryPoolBlock IncomingStart()
OnCompleted(System.Action)
public void OnCompleted(Action continuation)
UnsafeOnCompleted(System.Action)
public void UnsafeOnCompleted(Action continuation)

Properties

Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketInput.IsCompleted
Return type:System.Boolean
public bool IsCompleted { get; }
Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketInput.RemoteIntakeFin
Return type:System.Boolean
public bool RemoteIntakeFin { get; set; }