C# Class CSharpUtils.Web._45.Fastcgi.FastcgiPacket

Mostra file Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
Content ArraySegment
RequestId ushort
Type Fastcgi.PacketType
Version byte

Protected Properties

Property Type Description
PaddingRead byte[]
PaddingWrite byte[]

Public Methods

Method Description
ReadFromAsync ( Stream ClientStream ) : Task
WriteMemoryStreamToAsync ( ushort RequestId, Fastcgi PacketType, MemoryStream From, Stream ClientStream ) : System.Threading.Tasks.Task
WriteToAsync ( Stream ClientStream ) : Task

Method Details

ReadFromAsync() public method

public ReadFromAsync ( Stream ClientStream ) : Task
ClientStream Stream
return Task

WriteMemoryStreamToAsync() public static method

public static WriteMemoryStreamToAsync ( ushort RequestId, Fastcgi PacketType, MemoryStream From, Stream ClientStream ) : System.Threading.Tasks.Task
RequestId ushort
PacketType Fastcgi
From System.IO.MemoryStream
ClientStream Stream
return System.Threading.Tasks.Task

WriteToAsync() public method

public WriteToAsync ( Stream ClientStream ) : Task
ClientStream Stream
return Task

Property Details

Content public_oe property

public ArraySegment Content
return ArraySegment

PaddingRead protected_oe static_oe property

protected static byte[] PaddingRead
return byte[]

PaddingWrite protected_oe static_oe property

protected static byte[] PaddingWrite
return byte[]

RequestId public_oe property

public ushort RequestId
return ushort

Type public_oe property

public Fastcgi.PacketType Type
return Fastcgi.PacketType

Version public_oe property

public byte Version
return byte