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

Public Member Functions

bool HasScopes (IEnumerable< string > scopes)
 
bool HasScopes (params string[] scopes)
 
void CheckAdmin ()
 
 RequestContext (string cid, string pid, long id, int status, long userId, string path, string method, string body, HashSet< string > scopes=null)
 
 RequestContext (string cid, string pid, int id, long userId, string path, string method, string body)
 

Public Attributes

bool IsEvent => Path?.StartsWith("event/") ?? false
 

Properties

string Cid [get]
 
string Pid [get]
 
long Id [get]
 
int Status [get]
 
long UserId [get]
 
string Path [get]
 
string Method [get]
 
string Body [get]
 
HashSet< string > Scopes [get]
 
int Id [get]
 

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