C# Class Fleck.Handlers.ComposableHandler

Inheritance: IHandler
Show file Open project: directi/Fleck

Public Properties

Property Type Description
BinaryFrame byte[]>.Func
CloseFrame byte[]>.Func
Handshake Func
ReceiveData Action>
TextFrame byte[]>.Func

Public Methods

Method Description
CreateHandshake ( ) : byte[]
FrameBinary ( byte bytes ) : byte[]
FrameClose ( int code ) : byte[]
FrameText ( string text ) : byte[]
Receive ( IEnumerable data ) : void

Method Details

CreateHandshake() public method

public CreateHandshake ( ) : byte[]
return byte[]

FrameBinary() public method

public FrameBinary ( byte bytes ) : byte[]
bytes byte
return byte[]

FrameClose() public method

public FrameClose ( int code ) : byte[]
code int
return byte[]

FrameText() public method

public FrameText ( string text ) : byte[]
text string
return byte[]

Receive() public method

public Receive ( IEnumerable data ) : void
data IEnumerable
return void

Property Details

BinaryFrame public property

public Func BinaryFrame
return byte[]>.Func

CloseFrame public property

public Func CloseFrame
return byte[]>.Func

Handshake public property

public Func Handshake
return Func

ReceiveData public property

public Action> ReceiveData
return Action>

TextFrame public property

public Func TextFrame
return byte[]>.Func