Class WebInterop
public static class WebInterop
- Inheritance
-
WebInterop
Methods
Connect(int, string, int, string, string, string, string, string)
public static void Connect(int id, string host, int roomId, string token, string uniqueRoomId, string worldId, string region, string schemaId)
Parameters
id
inthost
stringroomId
inttoken
stringuniqueRoomId
stringworldId
stringregion
stringschemaId
string
Disconnect(int)
public static void Disconnect(int id)
Parameters
id
int
InitializeConnection(Action, Action<byte[]>, Action<JsError>)
public static int InitializeConnection(Action onOpen, Action<byte[]> onPacket, Action<JsError> onError)
Parameters
Returns
Send(int, byte[], int)
public static void Send(int id, byte[] data, int size)