MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / WebSocket_Init

Method WebSocket_Init

sdks/csharp/src/WebSocket.cs:74–80  ·  view source on GitHub ↗
(
        IntPtr openCallback,
        IntPtr messageCallback,
        IntPtr closeCallback,
        IntPtr errorCallback
    )

Source from the content-addressed store, hash-verified

72
73#if UNITY_WEBGL && !UNITY_EDITOR
74[DllImport("__Internal")]
75 private static extern void WebSocket_Init(
76 IntPtr openCallback,
77 IntPtr messageCallback,
78 IntPtr closeCallback,
79 IntPtr errorCallback
80 );
81
82 [DllImport("__Internal")]
83 private static extern int WebSocket_Connect(string host, string uri, string protocol, string authToken, IntPtr callbackPtr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected