C# Class SockjsClient, sockjs-unity3d-xhr

Inheritance: MonoBehaviour
Mostra file Open project: Extrawurst/sockjs-unity3d-xhr

Private Properties

Property Type Description
AutoPingRefresh void
DecodeMsg string
EncodeMsg string
FlushOutqueue void
GetHash byte[]
GetHashString string
OnEventConnected void
OnEventDisconnect void
StartPoll void
StartSend void
UpdateHeaders void
UpdatePolling void

Public Methods

Method Description
Connect ( string _host ) : void
Disconnect ( ) : void
SendData ( string _payload, bool _tryFlush = false ) : void
SockjsClient ( ) : System
Update ( ) : void
UpdateSending ( ) : bool

Private Methods

Method Description
AutoPingRefresh ( ) : void
DecodeMsg ( string _msg ) : string
EncodeMsg ( string _payload ) : string
FlushOutqueue ( ) : void
GetHash ( string _inputString ) : byte[]
GetHashString ( string _inputString ) : string
OnEventConnected ( ) : void
OnEventDisconnect ( int _code, string _msg ) : void
StartPoll ( ) : void
StartSend ( byte _data ) : void
UpdateHeaders ( ) : void
UpdatePolling ( ) : void

Method Details

Connect() public method

public Connect ( string _host ) : void
_host string
return void

Disconnect() public method

public Disconnect ( ) : void
return void

SendData() public method

public SendData ( string _payload, bool _tryFlush = false ) : void
_payload string
_tryFlush bool
return void

SockjsClient() public method

public SockjsClient ( ) : System
return System

Update() public method

public Update ( ) : void
return void

UpdateSending() public method

public UpdateSending ( ) : bool
return bool