HTTPRequestParameters Type
Represents the headers of the HTTP request to make.
Remarks
If a header is not assigned but required for a successful request (such as Connection or Host), it will be generated automatically by the component.
Fields
Accept String? |
Specifies the Accept header field of the HTTP request. The Accept field defines which media types are accepted in the response. | ||||
AcceptCharset String? |
Specifies the Accept-Charset header field of the HTTP request. The Accept-Charset field specifies the character set which the client can understand. | ||||
AcceptLanguage String? |
Specifies the Accept-Language header field of the HTTP request. The Accept-Language field specifies the language (and locale) which the client can understand. | ||||
AcceptRangeEnd Long |
This property, in combination with AcceptRangeStart, defines the media-range of the HTTP request. | ||||
AcceptRangeStart Long |
This property, in combination with AcceptRangeEnd, defines the media-range of the HTTP request. | ||||
Authorization String? |
Specifies the Authorization header of the HTTP request. This header contains the credentials to authenticate a user with a server. | ||||
Connection String? |
Specifies the value to pass to the Connection header field of HTTP request. | ||||
ContentLength Long |
Specifies the size of the entity-body of the HTTP request. Leave this field set to 0 to make the component calculate it automatically. | ||||
ContentRangeEnd Long |
Specifies the upper bound used in the Content-Range header of the HTTP request. | ||||
ContentRangeFullSize Long |
Specifies the total length of the full entity-body of the HTTP request. | ||||
ContentRangeStart Long |
Specifies the lower bound used in the Content-Range header of the HTTP request. | ||||
ContentType String? |
The Content-Type header field of the HTTP request. | ||||
Cookie String? |
This header is expected to be assigned with cookies previously received from the server and stored by the client. | ||||
CustomHeaders String? |
Assign any custom HTTP headers to be passed to the server to this property. | ||||
Date String? |
The date and time of the request. | ||||
From String? |
Contains the From header field of the HTTP request. It specifies the e-mail address for the human user who controls the requesting user agent. | ||||
Host String? |
This field contains the Host header field of the HTTP request. It specifies the host and port number of the resource being requested. | ||||
HTTPVersion HTTPVersions |
Specifies the version of HTTP protocol to use: 1.0 or 1.1.
| ||||
IfMatch String? |
Contains the If-Match request header field. This field makes the requested method conditional: when If-Match field is set, only the entities matching the included entity tags will be returned by the server. | ||||
IfModifiedSince String? |
Contains the If-Modified-Since request header field. This field makes the requested method conditional: when If-Modified-Since field is set, only the modified entities will be returned by the server. | ||||
IfNoneMatch String? |
Contains the If-None-Match request header field. This field makes the requested method conditional: when If-None-Match field is set, only the entities which doesn't match the included entity tags will be returned by the server. | ||||
IfUnmodifiedSince String? |
Contains the If-Unmodified-Since request header field. This field makes the requested method conditional: when If-Unmodified-Since field is set, only the unmodified entities will be returned by the server. | ||||
Password String? |
Assign this property with the user's password. | ||||
Referer String? |
The Referer field of the HTTP request header specifies the address of the resource from which the Request-URI was obtained (the referrer). | ||||
UserAgent String? |
The User-Agent field of the HTTP request provides information about the software that initiates the request. | ||||
Username String? |
Assign this property with the user's login name. |
Constructors
public constructor()
Creates a new HTTPRequestParameters object.