Property | Type | Description | |
---|---|---|---|
fClient | |||
fClosedByMe | bool | ||
fClosedByPeer | bool | ||
fCookie | string | ||
fExtension | string | ||
fFullDataProcess | bool | ||
fHandshake | bool | ||
fHeaders | Bauglir.Ex.WebSocketHeaders | ||
fHost | string | ||
fIndex | int | ||
fMasking | bool | ||
fOrigin | string | ||
fPort | string | ||
fProtocol | string | ||
fRequireMask | bool | ||
fResourceName | string | ||
fSsl | bool | ||
fSslStream | |||
fVersion | int |
Method | Description | |
---|---|---|
Close ( int aCloseCode ) : void | ||
Close ( int aCloseCode, string aCloseReason ) : void |
close connection
|
|
Ping ( string aData ) : bool |
send ping
|
|
Pong ( string aData ) : bool |
send pong
|
|
SendBinary ( |
||
SendBinary ( |
||
SendBinary ( |
||
SendBinary ( |
||
SendBinary ( |
Send binary data
|
|
SendBinaryContinuation ( |
||
SendBinaryContinuation ( |
||
SendBinaryContinuation ( |
||
SendBinaryContinuation ( |
||
SendBinaryContinuation ( |
send binary continuation data see SendBinary for parameter and result response
|
|
SendData ( bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3, int aWriteCode, |
||
SendData ( bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3, int aWriteCode, String aData ) : bool | ||
SendText ( String aString ) : bool | ||
SendText ( String aString, bool aWriteFinal ) : bool | ||
SendText ( String aString, bool aWriteFinal, bool aRes1 ) : bool | ||
SendText ( String aString, bool aWriteFinal, bool aRes1, bool aRes2 ) : bool | ||
SendText ( String aString, bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3 ) : bool |
Send textual data
|
|
SendTextContinuation ( String aString ) : bool | ||
SendTextContinuation ( String aString, bool aWriteFinal ) : bool | ||
SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1 ) : bool | ||
SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1, bool aRes2 ) : bool | ||
SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3 ) : bool |
Send textual continuation data
|
|
WebSocketConnection ( ) : System | ||
WebSocketConnection ( |
Method | Description | |
---|---|---|
Close ( ) : void | ||
Execute ( ) : void | ||
ProcessClose ( int aCloseCode, string aCloseReason, bool aClosedByPeer ) : void | ||
ProcessData ( bool &aReadFinal, bool &aRes1, bool &aRes2, bool &aRes3, int &aReadCode, |
||
ProcessPing ( string aData ) : void | ||
ProcessPong ( string aData ) : void | ||
ProcessStream ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, |
||
ProcessStreamContinuation ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, |
||
ProcessStreamFull ( |
||
ProcessText ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, string aString ) : void | ||
ProcessTextContinuation ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, string aString ) : void | ||
ProcessTextFull ( string aString ) : void | ||
ReadByte ( Stream aStream, int &aByte ) : bool | ||
ReadData ( bool &aReadFinal, bool &aRes1, bool &aRes2, bool &aRes3, int &aReadCode, |
||
ReverseBytes ( byte inArray ) : byte[] | ||
StartRead ( ) : void | ||
getStream ( |
public Close ( int aCloseCode, string aCloseReason ) : void | ||
aCloseCode | int | WebSocketCloseCode constant reason |
aCloseReason | string | textual data (max 123 bytes) |
return | void |
protected ProcessClose ( int aCloseCode, string aCloseReason, bool aClosedByPeer ) : void | ||
aCloseCode | int | |
aCloseReason | string | |
aClosedByPeer | bool | |
return | void |
protected ProcessData ( bool &aReadFinal, bool &aRes1, bool &aRes2, bool &aRes3, int &aReadCode, |
||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aReadCode | int | |
aStream | ||
return | void |
protected ProcessPing ( string aData ) : void | ||
aData | string | |
return | void |
protected ProcessPong ( string aData ) : void | ||
aData | string | |
return | void |
protected ProcessStream ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, |
||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aStream | ||
return | void |
protected ProcessStreamContinuation ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, |
||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aStream | ||
return | void |
protected ProcessStreamFull ( |
||
aStream | ||
return | void |
protected ProcessText ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, string aString ) : void | ||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aString | string | |
return | void |
protected ProcessTextContinuation ( bool aReadFinal, bool aRes1, bool aRes2, bool aRes3, string aString ) : void | ||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aString | string | |
return | void |
protected ProcessTextFull ( string aString ) : void | ||
aString | string | |
return | void |
protected ReadByte ( Stream aStream, int &aByte ) : bool | ||
aStream | Stream | |
aByte | int | |
return | bool |
protected ReadData ( bool &aReadFinal, bool &aRes1, bool &aRes2, bool &aRes3, int &aReadCode, |
||
aReadFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aReadCode | int | |
aStream | ||
return | bool |
protected static ReverseBytes ( byte inArray ) : byte[] | ||
inArray | byte | |
return | byte[] |
public SendBinary ( |
||
aStream | ||
return | bool |
public SendBinary ( |
||
aStream | ||
aWriteFinal | bool | |
return | bool |
public SendBinary ( |
||
aStream | ||
aWriteFinal | bool | |
aRes1 | bool | |
return | bool |
public SendBinary ( |
||
aStream | ||
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
return | bool |
public SendBinary ( |
||
aStream | binary data | |
aWriteFinal | bool | whether frame is final |
aRes1 | bool | extensions 1st bit |
aRes2 | bool | extensions 2nd bit |
aRes3 | bool | extensions 3nd bit |
return | bool |
public SendBinaryContinuation ( |
||
aStream | ||
return | bool |
public SendBinaryContinuation ( |
||
aStream | ||
aWriteFinal | bool | |
return | bool |
public SendBinaryContinuation ( |
||
aStream | ||
aWriteFinal | bool | |
aRes1 | bool | |
return | bool |
public SendBinaryContinuation ( |
||
aStream | ||
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
return | bool |
public SendBinaryContinuation ( |
||
aStream | binary data | |
aWriteFinal | bool | whether frame is final |
aRes1 | bool | extensions 1st bit |
aRes2 | bool | extensions 2nd bit |
aRes3 | bool | extensions 3nd bit |
return | bool |
public SendData ( bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3, int aWriteCode, |
||
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aWriteCode | int | |
aStream | ||
return | bool |
public SendData ( bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3, int aWriteCode, String aData ) : bool | ||
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
aRes3 | bool | |
aWriteCode | int | |
aData | String | |
return | bool |
public SendText ( String aString, bool aWriteFinal ) : bool | ||
aString | String | |
aWriteFinal | bool | |
return | bool |
public SendText ( String aString, bool aWriteFinal, bool aRes1 ) : bool | ||
aString | String | |
aWriteFinal | bool | |
aRes1 | bool | |
return | bool |
public SendText ( String aString, bool aWriteFinal, bool aRes1, bool aRes2 ) : bool | ||
aString | String | |
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
return | bool |
public SendText ( String aString, bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3 ) : bool | ||
aString | String | string data |
aWriteFinal | bool | whether frame is final |
aRes1 | bool | extensions 1st bit |
aRes2 | bool | extensions 2nd bit |
aRes3 | bool | extensions 3nd bit |
return | bool |
public SendTextContinuation ( String aString ) : bool | ||
aString | String | |
return | bool |
public SendTextContinuation ( String aString, bool aWriteFinal ) : bool | ||
aString | String | |
aWriteFinal | bool | |
return | bool |
public SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1 ) : bool | ||
aString | String | |
aWriteFinal | bool | |
aRes1 | bool | |
return | bool |
public SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1, bool aRes2 ) : bool | ||
aString | String | |
aWriteFinal | bool | |
aRes1 | bool | |
aRes2 | bool | |
return | bool |
public SendTextContinuation ( String aString, bool aWriteFinal, bool aRes1, bool aRes2, bool aRes3 ) : bool | ||
aString | String | string data |
aWriteFinal | bool | whether frame is final |
aRes1 | bool | extensions 1st bit |
aRes2 | bool | extensions 2nd bit |
aRes3 | bool | extensions 3nd bit |
return | bool |
public WebSocketConnection ( |
||
aClient | ||
return | System |
protected getStream ( |
||
aClient | ||
return | Stream |
protected TcpClient,System.Net.Sockets fClient | ||
return |
protected WebSocketHeaders,Bauglir.Ex fHeaders | ||
return | Bauglir.Ex.WebSocketHeaders |
protected SslStream,System.Net.Security fSslStream | ||
return |