Coherent UI for .NET  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.URLRequestBase Class Reference

represents a single URL request (read-only) Allows monitoring of URL requests More...

+ Inheritance diagram for Coherent.UI.URLRequestBase:

Public Member Functions

HTTPHeader[] GetExtraHeaders ()
 Get extra request headers More...
 
virtual string GetURL ()
 Get the URL of the request. More...
 
virtual string GetMethod ()
 Get the method of the request. More...
 
virtual string GetReferrer ()
 Get the referrer of the request. More...
 
virtual string GetExtraHeader (string field)
 Get extra header value. More...
 
virtual int GetExtraHeaderIndex (string field)
 Get extra header value. More...
 
virtual bool HasExtraHeader (string field)
 Checks if a header with the specified key is present in the headers collection. More...
 

Detailed Description

represents a single URL request (read-only) Allows monitoring of URL requests

Member Function Documentation

virtual string Coherent.UI.URLRequestBase.GetExtraHeader ( string  field)
inlinevirtual

Get extra header value.

Parameters
fieldfield of the header
Returns
the value of the header or nullptr if there is such header in the request
virtual int Coherent.UI.URLRequestBase.GetExtraHeaderIndex ( string  field)
inlinevirtual

Get extra header value.

Parameters
fieldfield of the header
Returns
the index of the header with the specified key in the headers collection, or a negative number if no such key exists
HTTPHeader [] Coherent.UI.URLRequestBase.GetExtraHeaders ( )
inline

Get extra request headers

Returns
array of the extra request headers
virtual string Coherent.UI.URLRequestBase.GetMethod ( )
inlinevirtual

Get the method of the request.

Returns
the method as a string
virtual string Coherent.UI.URLRequestBase.GetReferrer ( )
inlinevirtual

Get the referrer of the request.

Returns
the referrer of the request
virtual string Coherent.UI.URLRequestBase.GetURL ( )
inlinevirtual

Get the URL of the request.

Returns
the URL of the request
virtual bool Coherent.UI.URLRequestBase.HasExtraHeader ( string  field)
inlinevirtual

Checks if a header with the specified key is present in the headers collection.

Parameters
fieldfield of the header
Returns
true if a header with the specified key is present, false otherwise