HttpRequest
HttpRequest
This class represents the HttpRequest that is sent out after it was processed
Metatable function | Description |
---|---|
__tostring |
Returns a formated string of the VoiceData -> HttpRequest |
__index |
Used to find the functions on the metatable and access saved variables |
__newindex |
Used to allow one to save variables on the object |
Methods
number HttpRequest:GetAuthorizationCount( )
CBaseClient HttpRequest:GetClient( )
Returns the client who sent the HTTP Request or NULL if it didn't find it.
number HttpRequest:GetContentLength( )
The length of the HTTP Request content.
string HttpRequest:GetLocalAddr( )
number HttpRequest:GetLocalPort( )
returns the value of the given key from path parameters.
Returns the player who sent the HTTP Request or NULL if it didn't find it.
string HttpRequest:GetRemoteAddr( )
the IP Address of the Person who sent the HTTP Request
number HttpRequest:GetRemotePort( )
The Port the HTTP request was received from.
returns
true
if the client has the given key in the header.
returns true if the client has the given key in the parameters.