IRequest Methods |
The IRequest type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetHeaderByName |
Returns the first header value for name or an empty string if not found.
Will not return the Referer value if any. Use Headers instead if name might have multiple values.
| |
InitializePostData | ||
SetHeaderByName |
Set the header name to value. The Referer value cannot be set using this method.
Use SetReferrer(String, ReferrerPolicy) instead.
| |
SetReferrer |
Set the referrer URL and policy. If non-empty the referrer URL must be
fully qualified with an HTTP or HTTPS scheme component. Any username,
password or ref component will be removed.
| |
UnWrap |
Used internally to get the underlying IRequest instance.
Unlikely you'll use this yourself.
|
Name | Description | |
---|---|---|
GetCharSet |
A convenience extension method that extracts the Character set from
the content-type header. Can be used in conjuncation with GetBody(IPostDataElement, String) (Defined by PostDataExtensions.) |