C# Class WebSocket, Meteor-Unity

ファイルを表示 Open project: hiddenswitch/Meteor-Unity Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Connect ( ) : IEnumerator
Recv ( ) : byte[]
RecvString ( ) : string
Send ( byte buffer ) : void
SendString ( string str ) : void
WebSocket ( Uri url ) : System

Private Methods

Method Description
SocketClose ( int socketInstance ) : void
SocketCreate ( string url ) : int
SocketError ( int socketInstance, byte ptr, int length ) : int
SocketRecv ( int socketInstance, byte ptr, int length ) : void
SocketRecvLength ( int socketInstance ) : int
SocketSend ( int socketInstance, byte ptr, int length ) : void
SocketState ( int socketInstance ) : int

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : IEnumerator
return IEnumerator

Recv() public method

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

RecvString() public method

public RecvString ( ) : string
return string

Send() public method

public Send ( byte buffer ) : void
buffer byte
return void

SendString() public method

public SendString ( string str ) : void
str string
return void

WebSocket() public method

public WebSocket ( Uri url ) : System
url Uri
return System