Method | Description | |
---|---|---|
AddAccept ( AcceptType AcceptType ) : |
Add an AcceptType to the Accept header field.
|
|
AddAccept ( HTTPContentType HTTPContentType, Double Quality = 1 ) : |
Add a HTTPContentType and its quality to the Accept header field.
|
|
AsImmutable ( ) : HTTPRequest |
Converts this HTTPRequestBuilder into an immutable HTTPRequest.
|
|
ExecuteReturnResult ( ) : Task |
||
HTTPRequestBuilder ( |
Create a new HTTP request.
|
|
HTTPRequestBuilder ( HTTPRequest OtherHTTPRequest ) : System |
Create a new HTTP request.
|
|
Set ( String Field, Object Value ) : void | ||
SetAcceptCharset ( String AcceptCharset ) : |
Set the HTTP Accept-Charset header field.
|
|
SetAcceptEncoding ( String AcceptEncoding ) : |
Set the HTTP Accept-Encoding header field.
|
|
SetAcceptLanguage ( String AcceptLanguage ) : |
Set the HTTP Accept-Language header field.
|
|
SetAcceptRanges ( String AcceptRanges ) : |
Set the HTTP Accept-Language header field.
|
|
SetAuthorization ( |
Set the HTTP Authorization header field.
|
|
SetCacheControl ( String CacheControl ) : |
Set the HTTP CacheControl header field.
|
|
SetConnection ( String Connection ) : |
Set the HTTP connection header field.
|
|
SetContent ( Byte ByteArray ) : |
The HTTP content/body.
|
|
SetContent ( Stream ContentStream ) : |
The HTTP content/body as a stream.
|
|
SetContent ( String String ) : |
The HTTP content/body.
|
|
SetContentEncoding ( |
Set the HTTP Content-Encoding header field.
|
|
SetContentLanguage ( List |
Set the HTTP Content-Languages header field.
|
|
SetContentLength ( System.UInt64 ContentLength ) : |
Set the HTTP Content-Length.
|
|
SetContentLocation ( String ContentLocation ) : |
Set the HTTP ContentLocation header field.
|
|
SetContentMD5 ( String ContentMD5 ) : |
Set the HTTP ContentMD5 header field.
|
|
SetContentRange ( String ContentRange ) : |
Set the HTTP ContentRange header field.
|
|
SetContentType ( HTTPContentType ContentType ) : |
Set the HTTP Content-Type header field.
|
|
SetCookie ( String Cookie ) : |
Set the HTTP Cookie header field.
|
|
SetDate ( System.DateTime Date ) : |
Set the HTTP Date header field.
|
|
SetDepth ( String Depth ) : |
Set the HTTP Depth header field.
|
|
SetExpect ( String Expect ) : |
Set the HTTP Expect header field.
|
|
SetFrom ( String From ) : |
Set the HTTP From header field.
|
|
SetHTTPMethod ( HTTPMethod HTTPMethod ) : |
Set the HTTP method.
|
|
SetHTTPStatusCode ( HTTPStatusCode HTTPStatusCode ) : |
Set the HTTP status code.
|
|
SetHost ( String Host ) : |
Set the HTTP Host header field.
|
|
SetIf ( String If ) : |
Set the HTTP If header field.
|
|
SetIfMatch ( String IfMatch ) : |
Set the HTTP If-Match header field.
|
|
SetIfModifiedSince ( String IfModifiedSince ) : |
Set the HTTP If-Modified-Since header field.
|
|
SetIfNoneMatch ( String IfNoneMatch ) : |
Set the HTTP If-None-Match header field.
|
|
SetIfRange ( String IfRange ) : |
Set the HTTP If-Range header field.
|
|
SetIfUnmodifiedSince ( String IfUnmodifiedSince ) : |
Set the HTTP If-Unmodified-Since header field.
|
|
SetLastEventId ( System.UInt64 LastEventId ) : |
Set the HTTP Last-Event-Id header field.
|
|
SetLockToken ( String LockToken ) : |
Set the HTTP LockToken header field.
|
|
SetMaxForwards ( System.UInt64 MaxForwards ) : |
Set the HTTP Max-Forwards header field.
|
|
SetOverwrite ( String Overwrite ) : |
Set the HTTP Overwrite header field.
|
|
SetProtocolName ( String ProtocolName ) : |
Set the protocol name.
|
|
SetProtocolVersion ( HTTPVersion ProtocolVersion ) : |
Set the protocol version.
|
|
SetProxyAuthorization ( String ProxyAuthorization ) : |
Set the HTTP Proxy-Authorization header field.
|
|
SetRange ( String Range ) : |
Set the HTTP Range header field.
|
|
SetReferer ( String Referer ) : |
Set the HTTP Referer header field.
|
|
SetTE ( String TE ) : |
Set the HTTP TE header field.
|
|
SetTimeout ( System.UInt64 Timeout ) : |
Set the HTTP Timeout header field.
|
|
SetURI ( String URI ) : |
Set the HTTP method.
|
|
SetUserAgent ( String UserAgent ) : |
Set the HTTP User-Agent header field.
|
|
SetVia ( String Via ) : |
Set the HTTP Via header field.
|
Method | Description | |
---|---|---|
PrepareImmutability ( ) : void |
Prepares the immutability of an HTTP PDU, e.g. calculates and set the Content-Length header.
|
public AddAccept ( AcceptType AcceptType ) : |
||
AcceptType | AcceptType | An AcceptType. |
return |
public AddAccept ( HTTPContentType HTTPContentType, Double Quality = 1 ) : |
||
HTTPContentType | HTTPContentType | A HTTPContentType. |
Quality | Double | The quality of the HTTPContentType. |
return |
public HTTPRequestBuilder ( |
||
Client | ||
return | System |
public HTTPRequestBuilder ( HTTPRequest OtherHTTPRequest ) : System | ||
OtherHTTPRequest | HTTPRequest | |
return | System |
public Set ( String Field, Object Value ) : void | ||
Field | String | |
Value | Object | |
return | void |
public SetAcceptCharset ( String AcceptCharset ) : |
||
AcceptCharset | String | AcceptCharset. |
return |
public SetAcceptEncoding ( String AcceptEncoding ) : |
||
AcceptEncoding | String | AcceptEncoding. |
return |
public SetAcceptLanguage ( String AcceptLanguage ) : |
||
AcceptLanguage | String | AcceptLanguage. |
return |
public SetAcceptRanges ( String AcceptRanges ) : |
||
AcceptRanges | String | AcceptRanges. |
return |
public SetAuthorization ( |
||
Authorization | Authorization. | |
return |
public SetCacheControl ( String CacheControl ) : |
||
CacheControl | String | CacheControl. |
return |
public SetConnection ( String Connection ) : |
||
Connection | String | A connection. |
return |
public SetContent ( Byte ByteArray ) : |
||
ByteArray | Byte | The HTTP content/body. |
return |
public SetContent ( Stream ContentStream ) : |
||
ContentStream | Stream | |
return |
public SetContent ( String String ) : |
||
String | String | The HTTP content/body. |
return |
public SetContentEncoding ( |
||
ContentEncoding | The encoding of the HTTP content/body. | |
return |
public SetContentLanguage ( List |
||
ContentLanguages | List |
The languages of the HTTP content/body. |
return |
public SetContentLength ( System.UInt64 ContentLength ) : |
||
ContentLength | System.UInt64 | The length of the HTTP content/body. |
return |
public SetContentLocation ( String ContentLocation ) : |
||
ContentLocation | String | ContentLocation. |
return |
public SetContentMD5 ( String ContentMD5 ) : |
||
ContentMD5 | String | ContentMD5. |
return |
public SetContentRange ( String ContentRange ) : |
||
ContentRange | String | ContentRange. |
return |
public SetContentType ( HTTPContentType ContentType ) : |
||
ContentType | HTTPContentType | The type of the HTTP content/body. |
return |
public SetCookie ( String Cookie ) : |
||
Cookie | String | Cookie. |
return |
public SetDate ( System.DateTime Date ) : |
||
Date | System.DateTime | DateTime. |
return |
public SetDepth ( String Depth ) : |
||
Depth | String | Depth. |
return |
public SetExpect ( String Expect ) : |
||
Expect | String | Expect. |
return |
public SetFrom ( String From ) : |
||
From | String | From. |
return |
public SetHTTPMethod ( HTTPMethod HTTPMethod ) : |
||
HTTPMethod | HTTPMethod | The HTTPMethod. |
return |
public SetHTTPStatusCode ( HTTPStatusCode HTTPStatusCode ) : |
||
HTTPStatusCode | HTTPStatusCode | A HTTP status code. |
return |
public SetHost ( String Host ) : |
||
Host | String | Host. |
return |
public SetIf ( String If ) : |
||
If | String | If. |
return |
public SetIfMatch ( String IfMatch ) : |
||
IfMatch | String | IfMatch. |
return |
public SetIfModifiedSince ( String IfModifiedSince ) : |
||
IfModifiedSince | String | IfModifiedSince. |
return |
public SetIfNoneMatch ( String IfNoneMatch ) : |
||
IfNoneMatch | String | IfNoneMatch. |
return |
public SetIfRange ( String IfRange ) : |
||
IfRange | String | IfRange. |
return |
public SetIfUnmodifiedSince ( String IfUnmodifiedSince ) : |
||
IfUnmodifiedSince | String | IfUnmodifiedSince. |
return |
public SetLastEventId ( System.UInt64 LastEventId ) : |
||
LastEventId | System.UInt64 | LastEventId. |
return |
public SetLockToken ( String LockToken ) : |
||
LockToken | String | LockToken. |
return |
public SetMaxForwards ( System.UInt64 MaxForwards ) : |
||
MaxForwards | System.UInt64 | MaxForwards. |
return |
public SetOverwrite ( String Overwrite ) : |
||
Overwrite | String | Overwrite. |
return |
public SetProtocolName ( String ProtocolName ) : |
||
ProtocolName | String | The protocol name. |
return |
public SetProtocolVersion ( HTTPVersion ProtocolVersion ) : |
||
ProtocolVersion | HTTPVersion | The protocol version. |
return |
public SetProxyAuthorization ( String ProxyAuthorization ) : |
||
ProxyAuthorization | String | ProxyAuthorization. |
return |
public SetRange ( String Range ) : |
||
Range | String | Range. |
return |
public SetReferer ( String Referer ) : |
||
Referer | String | Referer. |
return |
public SetTE ( String TE ) : |
||
TE | String | TE. |
return |
public SetTimeout ( System.UInt64 Timeout ) : |
||
Timeout | System.UInt64 | Timeout. |
return |
public SetURI ( String URI ) : |
||
URI | String | The new URI. |
return |
public SetUserAgent ( String UserAgent ) : |
||
UserAgent | String | UserAgent. |
return |
public SetVia ( String Via ) : |
||
Via | String | Via. |
return |