C# Class ALE.Tcp.WebSocketHandshake

Datei anzeigen Open project: blesh/ALE Class Usage Examples

Public Methods

Method Description
GetHandshake ( Encoding enc, string secKey, string ip, int port, string origin ) : string
GetSecKey ( string clientHandshake ) : string
HashSecKey ( Encoding enc, string secKey ) : string

Method Details

GetHandshake() public static method

public static GetHandshake ( Encoding enc, string secKey, string ip, int port, string origin ) : string
enc System.Text.Encoding
secKey string
ip string
port int
origin string
return string

GetSecKey() public static method

public static GetSecKey ( string clientHandshake ) : string
clientHandshake string
return string

HashSecKey() public static method

public static HashSecKey ( Encoding enc, string secKey ) : string
enc System.Text.Encoding
secKey string
return string