Http |
The HttpClientRequest type exposes the following members.
| 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. |