Beamable SDK
|
Public Member Functions | |
SocketRequesterContext (Func< Promise< EasyWebSocket >> socketGetter) | |
long | GetNextRequestId () |
PlatformSubscription< T > | Subscribe< T > (string eventName, Action< T > callback) |
bool | IsPlatformMessage (RequestContext ctx) |
void | HandleMessage (RequestContext ctx, string msg) |
Promise< T > | AddListener< T > (WebsocketRequest req, string uri, Func< string, T > parser) |
bool | TryGetListener (long id, out IWebsocketResponseListener listener) |
void | Remove (long id) |
Public Attributes | |
Promise< EasyWebSocket > | Socket => _socketGetter() |