Beamable SDK
|
Public Member Functions | |
SocketRequesterContext (Func< Promise< IConnection >> socketGetter) | |
void | HandleCloseConnection () |
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< IConnection > | Socket => _socketGetter() |
Properties | |
bool | HasSocketClosed [get] |