The HttpRequest type exposes the following members.
Methods
Name | Description | |||||
---|---|---|---|---|---|---|
Abort |
Cancels request.
This will make the current (or subsequent) request fail with WebException error
with (Overrides WebRequest..::..Abort()()()().)
| |||||
AddRange(Int64) |
Adds HTTP Range header to the request with 'bytes' unit.
| |||||
AddRange(Int64, Int64) |
Adds HTTP Range header to the request with 'bytes' unit.
| |||||
AddRange(String, Int64) |
Adds HTTP Range header to the request.
| |||||
AddRange(String, Int64, Int64) |
Adds HTTP Range header to the request.
| |||||
BeginGetRequestStream |
Begins asynchronous GetRequestStream operation.
Returns request stream that the request data can be written to as an asynchronous operation. Returns writable stream.
(Overrides WebRequest..::..BeginGetRequestStream(AsyncCallback, Object).) | |||||
BeginGetResponse |
Begins asynchronous GetResponse operation.
Returns a response for this request as asynchronous operation. If the response was retrieved once, return that response.
(Overrides WebRequest..::..BeginGetResponse(AsyncCallback, Object).) | |||||
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |||||
EndGetRequestStream |
Ends an asynchronous BeginGetRequestStream operation.
(Overrides WebRequest..::..EndGetRequestStream(IAsyncResult).) | |||||
EndGetResponse |
Ends an asynchronous BeginGetResponse operation.
(Overrides WebRequest..::..EndGetResponse(IAsyncResult).) | |||||
Equals | (Overrides Object..::..Equals(Object).) | |||||
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |||||
GetHashCode | (Overrides Object..::..GetHashCode()()()().) | |||||
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |||||
GetRequestStream |
Returns request stream that the request data can be written to.
(Overrides WebRequest..::..GetRequestStream()()()().) | |||||
GetResponse |
Returns a response for this request. If the response was retrieved once, return that response.
(Overrides WebRequest..::..GetResponse()()()().) | |||||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |||||
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |||||
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |||||
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |||||
ToString | Returns a String that represents the current Object. (Inherited from Object.) |