represents a single URL request Allows monitoring and modifications of URL requests More...
Public Member Functions | |
void | SetExtraHeaders (HTTPHeader[] headers) |
Set the extra headers. More... | |
virtual void | SetURL (string url) |
Replace the URL of the request. More... | |
virtual void | SetMethod (string method) |
Set the method of the request. More... | |
virtual void | SetReferrer (string referrer) |
Set the referrer of the request. More... | |
virtual void | SetExtraHeader (string field, string content) |
Set extra header for the request. If there is already a header with that field name its content will be replaced. More... | |
virtual void | AppendExtraHeaderValue (string field, string content) |
Append extra header for the request. If there is already a header with that field name the content will be appended to the header current content with a comma as a separator between the values. If there is not such header it will be added. More... | |
virtual void | RemoveExtraHeader (string field) |
Remove extra header from the request. More... | |
virtual void | Deny () |
Deny the request. More... | |
Public Member Functions inherited from Coherent.UI.URLRequestBase | |
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... | |
represents a single URL request Allows monitoring and modifications of URL requests
|
inlinevirtual |
Append extra header for the request. If there is already a header with that field name the content will be appended to the header current content with a comma as a separator between the values. If there is not such header it will be added.
field | name of the header |
content | content of the header |
|
inlinevirtual |
Deny the request.
|
inlinevirtual |
Remove extra header from the request.
field | field of the header to be removed |
|
inlinevirtual |
Set extra header for the request. If there is already a header with that field name its content will be replaced.
field | name of the header |
content | new content of the header |
|
inline |
Set the extra headers.
headers | the array of new headers |
|
inlinevirtual |
Set the method of the request.
method | the new method as string. method must be a valid HTTP method name |
|
inlinevirtual |
Set the referrer of the request.
referrer | the new referrer URL for the request |
|
inlinevirtual |
Replace the URL of the request.