Http |
public class HttpClientRequest : HttpOutgoingRequestResponse
The HttpClientRequest type exposes the following members.
| Name | Description | |
|---|---|---|
| HttpClientRequest | Creates an instance of the HttpClientRequest Class. |
| Name | Description | |
|---|---|---|
| Client |
Gets a flag indicating whether this class is used in a client application.
The value of this class is always true.
(Overrides HttpRequestResponseClient) | |
| CloseStream |
When ContentSource is set to ContentStream (and a ContentStream is assigned),
this property determines if the stream should be closed automatically after sending it to the connection (true) or not (false).
(Inherited from HttpOutgoingRequestResponse) | |
| ContentBytes |
Assigns a byte array to send back as the HTTP body to this property.
(Inherited from HttpOutgoingRequestResponse) | |
| ContentSource |
Defines which property (ContentBytes, ContentStream or ContentString) will be used to send the body of the response.
Assigning any of these three properties will automatically set the ContentSource property so that the content will always be sent from the appropriate source.
(Inherited from HttpOutgoingRequestResponse) | |
| ContentStream |
Assigns a stream to send back as HTTP body to this property. When assigned (and ContentSource is set to ContentStream),
you can use the CloseStream property to determine if the stream should be closed automatically after sending it to the connection (true) or not (false).
(Inherited from HttpOutgoingRequestResponse) | |
| ContentString |
Assigns a string to send back as HTTP body to this property.
(Inherited from HttpOutgoingRequestResponse) | |
| Encoding |
Determines the Encoding for the HTTP Request Response
(Inherited from HttpRequestResponse) | |
| HasOnTransferProgress |
Determines whether the current HTTPRequest Response has an OnTransferProgress event handler.
(Inherited from HttpRequestResponse) | |
| Header |
Get or set the HTTP Response Header
(Inherited from HttpRequestResponse) | |
| IsCompleted |
Gets a value that indicates whether the asynchronous operation completed.
(Inherited from HttpRequestResponse) | |
| KeepAlive |
Determines the keep alive status of the HTTP Outgoing Request Response.
(Inherited from HttpOutgoingRequestResponse) | |
| RequestType | Gets or sets the type of the HTTP request. Possible values are: RequestType.Get RequestType.Post RequestType.Put RequestType.Delete RequestType.Head RequestType.Patch The default value of this class is RequestType.Get. | |
| Server |
Gets a flag indicating whether this class is used in a server application.
The value of this class is always false.
(Overrides HttpRequestResponseServer) | |
| ThisClient |
Gets the Client that is host to this Async request
(Inherited from HttpRequestResponse) | |
| Url | Gets or sets the target URL for the HTTP request. |
| Name | Description | |
|---|---|---|
| CloneEvents |
Clones the events of the HTTP Request Response.
(Inherited from HttpRequestResponse) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FinalizeHeader |
Sets the HTTP headers of the request.
(Overrides HttpOutgoingRequestResponseFinalizeHeader) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TriggerOnTransferEnd |
Trigger the OnTransferEnd Event Handler
(Inherited from HttpRequestResponse) | |
| TriggerOnTransferProgress |
Trigger the OnTransferProgress Event Handler
(Inherited from HttpRequestResponse) | |
| TriggerOnTransferStart |
Trigger the OnTransferStart Event Handler
(Inherited from HttpRequestResponse) |
| Name | Description | |
|---|---|---|
| OnTransferEnd |
OnTransferEnd Event Handler
(Inherited from HttpRequestResponse) | |
| OnTransferProgress |
OnTransferProgress Event Handler
(Inherited from HttpRequestResponse) | |
| OnTransferStart |
OnTransferStart Event handler
(Inherited from HttpRequestResponse) |