C# Class Araqne.Web.WebSocketFrame

Mostra file Open project: araqne/webfx Class Usage Examples

Public Methods

Method Description
Encode ( ) : byte[]
WebSocketFrame ( byte payload ) : System
WebSocketFrame ( string payload ) : System

Private Methods

Method Description
maskBit ( int b ) : int

Method Details

Encode() public method

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

WebSocketFrame() public method

public WebSocketFrame ( byte payload ) : System
payload byte
return System

WebSocketFrame() public method

public WebSocketFrame ( string payload ) : System
payload string
return System