Click or drag to resize

Request Methods

Version 101.0.180

The Request type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Create a new IRequest instance
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHeaderByName
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializePostData
Initialize a new instance of IPostData. Make sure to check if the PostData is null before calling otherwise the existing data will be overridden.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetHeaderByName
Set the header name to value. The Referer value cannot be set using this method. Use SetReferrer(String, ReferrerPolicy) instead.
Public methodSetReferrer
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnWrap
Used internally to get the underlying IRequest instance. Unlikely you'll use this yourself.
Top
Extension Methods
  NameDescription
Public Extension MethodGetCharSet
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.)
Top
See Also