represents a single URL request (read-only) Allows monitoring of URL requests
More...
#include <Coherent/UI/URLRequestBase.h>
represents a single URL request (read-only) Allows monitoring of URL requests
virtual const char* Coherent::UI::URLRequestBase::GetExtraHeader |
( |
const char * |
field | ) |
const |
|
pure virtual |
Get extra header value.
- Parameters
-
- Returns
- the value of the header or nullptr if there is such header in the request
virtual int Coherent::UI::URLRequestBase::GetExtraHeaderIndex |
( |
const char * |
field | ) |
const |
|
pure virtual |
Get extra header value.
- Parameters
-
- Returns
- the index of the header with the specified key in the headers collection, or a negative number if no such key exists
virtual const HTTPHeader* Coherent::UI::URLRequestBase::GetExtraHeaders |
( |
| ) |
const |
|
pure virtual |
Get extra headers.
- Returns
- pointer to the first header of the request
virtual unsigned int Coherent::UI::URLRequestBase::GetExtraHeadersCount |
( |
| ) |
const |
|
pure virtual |
Get extra headers count.
- Returns
- the number of extra headers in the request
virtual const char* Coherent::UI::URLRequestBase::GetMethod |
( |
| ) |
const |
|
pure virtual |
Get the method of the request.
- Returns
- the method as a string
virtual const wchar_t* Coherent::UI::URLRequestBase::GetReferrer |
( |
| ) |
const |
|
pure virtual |
Get the referrer of the request.
- Returns
- the referrer of the request
virtual const wchar_t* Coherent::UI::URLRequestBase::GetURL |
( |
| ) |
const |
|
pure virtual |
Get the URL of the request.
- Returns
- the URL of the request
virtual bool Coherent::UI::URLRequestBase::HasExtraHeader |
( |
const char * |
field | ) |
const |
|
pure virtual |
Checks if a header with the specified key is present in the headers collection.
- Parameters
-
- Returns
- true if a header with the specified key is present, false otherwise