C# Class Fleck.Handlers.ComposableHandler

Inheritance: IHandler
Datei anzeigen 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_oe property

public Func BinaryFrame
return byte[]>.Func

CloseFrame public_oe property

public Func CloseFrame
return byte[]>.Func

Handshake public_oe property

public Func Handshake
return Func

ReceiveData public_oe property

public Action> ReceiveData
return Action>

TextFrame public_oe property

public Func TextFrame
return byte[]>.Func