System.Net.HttpClient

From RAD Studio API Documentation
Jump to: navigation, search


Package rtl270.bpl

Classes

ENetHTTPCertificateExceptionException related to certificates.
ENetHTTPClientExceptionException related to THTTPClient.
ENetHTTPExceptionException related to the HTTP protocol.
ENetHTTPRequestExceptionException related to THTTPRequest.
ENetHTTPResponseExceptionException related to THTTPResponse.
IHTTPRequestInterface for classes that handle HTTP requests.
IHTTPResponseInterface for HTTPResponse.
TCookieHelper
TCookieManagerClass to manage HTTP cookies.
TCookiesClass that works as a container for cookies.
THTTPClientClass that implements a TURLClient
THTTPRequestClass that handles HTTP requests.
THTTPResponseClass that implements an IHTTPResponse.

Types

TCookieRecord type that stores the information related to cookies.
TCookiesArrayArray of cookies.
THTTPCompressionMethodSpecifies a compression method.
THTTPCompressionMethodsSpecifies a compression method.
THTTPProtocolVersion
THTTPRedirectsWithGET
THTTPRedirectWithGET
THTTPSecureFailureReason
THTTPSecureFailureReasons
THTTPSecureProtocol
THTTPSecureProtocols
TReceiveDataCallbackSignature of ReceiveData Callback.

The arguments are:

Argument Description

Sender

HTTP request.

AContentLength

A total length in bytes of content to read.

AReadCount

A number of bytes read already.

AAbort

The application can set it to True to stop reading response.

TReceiveDataEventType of event handler for tracking the progress of data download.
TSendDataCallbackSignature of SendData Callback.
TSendDataEvent

Constants

CHTTPDefMaxRedirectsCHTTPDefMaxRedirects: Integer = 5;
CHTTPDefRedirectsWithGETCHTTPDefRedirectsWithGET: Set = [Post301..Post303,Put303,Delete303];
CHTTPDefSecureProtocolsCHTTPDefSecureProtocols: Set = [];
sHTTPMethodConnectsHTTPMethodConnect: string = CONNECT;
sHTTPMethodDeletesHTTPMethodDelete: string = DELETE;
sHTTPMethodGetsHTTPMethodGet: string = GET;
sHTTPMethodHeadsHTTPMethodHead: string = HEAD;
sHTTPMethodMergesHTTPMethodMerge: string = MERGE;
sHTTPMethodOptionssHTTPMethodOptions: string = OPTIONS;
sHTTPMethodPatchsHTTPMethodPatch: string = PATCH;
sHTTPMethodPostsHTTPMethodPost: string = POST;
sHTTPMethodPutsHTTPMethodPut: string = PUT;
sHTTPMethodTracesHTTPMethodTrace: string = TRACE;