Beamable SDK
Public Member Functions | Public Attributes | List of all members
Beamable.Server.SocketRequesterContext Class Reference
Collaboration diagram for Beamable.Server.SocketRequesterContext:
Collaboration graph
[legend]

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()
 

The documentation for this class was generated from the following file: