C# Class Firefly.Http.Frame

显示文件 Open project: FireflyServer/firefly Class Usage Examples

Public Methods

Method Description
Consume ( Firefly.Http.Baton baton, Exception>.Action callback ) : bool
Frame ( FrameContext context ) : System

Private Methods

Method Description
AddRequestHeader ( string name, string value ) : void
CreateCallContext ( ) : CallContext
CreateResponseHeader ( string status, string[]>.IEnumerable headers ) : IDisposable>.Tuple
Execute ( ) : void
ExecuteAsync ( ) : System.Threading.Task
GetString ( ArraySegment range, int startIndex, int endIndex ) : string
HandleExpectContinue ( Exception>.Action continuation ) : Exception>.Action
OnFlush ( System.Action arg ) : bool
OnWrite ( ArraySegment arg ) : bool
ProduceEnd ( Exception ex ) : void
ProduceStart ( ) : void
TakeMessageHeader ( Firefly.Http.Baton baton, bool &endOfHeaders ) : bool
TakeStartLine ( Firefly.Http.Baton baton ) : bool
Upgrade ( object>.IDictionary options, Task>.Func callback ) : void

Method Details

Consume() public method

public Consume ( Firefly.Http.Baton baton, Exception>.Action callback ) : bool
baton Firefly.Http.Baton
callback Exception>.Action
return bool

Frame() public method

public Frame ( FrameContext context ) : System
context FrameContext
return System