C# Class Microsoft.AspNet.Server.Kestrel.Http.SocketOutput

Inheritance: ISocketOutput
Show file Open project: Starcounter/KestrelHttpServer Class Usage Examples

Public Methods

Method Description
End ( ProduceEndType endType ) : void
SocketOutput ( KestrelThread thread, UvStreamHandle socket, long connectionId, IKestrelTrace log ) : System
Write ( ArraySegment buffer, Action callback, object state, bool immediate = true, bool socketShutdownSend = false, bool socketDisconnect = false ) : void

Private Methods

Method Description
ISocketOutput ( ArraySegment buffer, bool immediate, CancellationToken cancellationToken ) : Task
ISocketOutput ( ArraySegment buffer, bool immediate ) : void
OnWriteCompleted ( Queue writtenBuffers, int status, Exception error ) : void
ScheduleWrite ( ) : void
WriteAllPending ( ) : void

Method Details

End() public method

public End ( ProduceEndType endType ) : void
endType ProduceEndType
return void

SocketOutput() public method

public SocketOutput ( KestrelThread thread, UvStreamHandle socket, long connectionId, IKestrelTrace log ) : System
thread KestrelThread
socket Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle
connectionId long
log IKestrelTrace
return System

Write() public method

public Write ( ArraySegment buffer, Action callback, object state, bool immediate = true, bool socketShutdownSend = false, bool socketDisconnect = false ) : void
buffer ArraySegment
callback Action
state object
immediate bool
socketShutdownSend bool
socketDisconnect bool
return void