System.Net.HttpClient.THTTPClient Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AfterConstructionpublicResponds after the last constructor has executed.
BeforeDestructionpublicResponds before the first destructor executes.
BeginDeletepublicStarts an asynchronous HTTP request using the DELETE HTTP request method.
BeginExecutepublicStarts an asynchronous HTTP request.
BeginGetpublicStarts an asynchronous HTTP request using the GET HTTP request method.
BeginGetRangepublicStarts an asynchronous HTTP request using the GET HTTP request method with the Range header.
BeginHeadpublicStarts an asynchronous HTTP request using the HEAD HTTP request method.
BeginMergepublicStarts an asynchronous HTTP request using the MERGE HTTP request method.
BeginMergeAlternativepublicStarts an asynchronous HTTP request using the MERGE HTTP request method masked as a PUT HTTP request method.
BeginOptionspublicStarts an asynchronous HTTP request using the OPTIONS HTTP request method.
BeginPatchpublicStarts an asynchronous HTTP request using the PATCH HTTP request method.
BeginPatchAlternativepublicStarts an asynchronous HTTP request using the PATCH HTTP request method masked as a PUT HTTP request method.
BeginPostpublicStarts an asynchronous HTTP request using the POST HTTP request method.
BeginPutpublicStarts an asynchronous HTTP request using the PUT HTTP request method.
BeginTracepublicStarts an asynchronous HTTP request using the TRACE HTTP request method.
CheckDisposedprotected
CheckDownloadResumepublicIndicates whether a server supports the resume-download feature.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ComposeRedirectURLprotected
CreatepublicCreates an instance of THTTPClient.
CreateFormFromStingspublic
CreateInstanceprotectedCreates an instance of TURLClient
DefaultHandlerpublicProvides the interface for a method that processes message records.
DeletepublicSends an HTTP request to the specified URL using the DELETE HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
DestroypublicDestroys this instance of THTTPClient.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoAuthCallbackprotectedCalls either the AuthCallback or the AuthEvent.
DoClientCertificateAcceptedprotectedMethod executed when the client certificate related to the ARequest specified in AnIndex is accepted.
DoExecuteprotected
DoExecuteAsyncprotectedBuilds a request object based on the specified request method, URI and source stream, and calls InternalExecuteAsync to start an asynchronous HTTP request.
DoExecuteRequestprotectedMethod that executes the platform dependant HTTP ARequest.
DoGetClientCertificatesprotectedMethod to get the platform dependant client certificates related to the ARequest from the ACertificateList.
DoGetHTTPRequestInstanceprotectedMethod to get the platform dependant request instance from a client, created from the AClient, ARequestMethod and AURI arguments.
DoGetRequestInstanceprotected
DoGetResponseInstanceprotectedReturns a request instance.
DoGetSSLCertificateFromServerprotectedMethod to get the platform dependant SSL server certificates related to the ARequest.
DoNoClientCertificateprotected
DoProcessStatusprotectedMethod to execute specific actions after the ARequest has been executed.
DoServerCertificateAcceptedprotectedMethod executed when the client SSL server certificate is accepted for the specified ARequest.
DoSetCredentialprotectedMethod that sets the server/proxy ACredential of the ARequest for the specific ATargetType.
EndAsyncHTTPpublicEnsures that the specified response succeeded, or raises an exception if the response failed.
EndAsyncURLpublicEnsures that the specified response succeeded, or raises an exception if the response failed.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecutepublicExecutes the given request associated with the HTTP client.
FieldAddresspublicReturns the address of a published object field.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetpublicSends an HTTP request to the specified URL using the GET HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
GetCredentialsprotectedGets the compatible credentials with the given parameters.
GetCustomHeaderValueprotectedReturns the CustomHeaders value for the specified Name.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetInstanceprotectedMethod to obtain a client instance.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetInternalInstancepublic
GetMaxRedirectsprotectedGetter of FMaxRedirects.
GetRangepublicThe GetRange method sends a GET command to the AURL with the Range header added to AHeaders.
GetRequestpublicGets the request instance associated with the HTTP client for the given ARequestMethod and a URI or a URL.
GetUserAgentpublic
HeadpublicSends an HTTP request to the specified URL using the HEAD HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
InheritsFrompublicDetermines the relationship of two object types.
InitializerprotectedCreates an instance of THTTPClient.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InternalExecuteAsyncprotectedStarts an asynchronous HTTP request.
IsAutoRedirectprotected
IsAutoRedirectWithGETprotected
IsRedirectprotected
MergepublicSends an HTTP request to the specified URL with the specified data (ASource) using the MERGE HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
MergeAlternativepublicSends an HTTP request to the specified URL with the specified data (ASource) using the MERGE HTTP request method masked as a PUT request method, waits for the server to send a response, and returns the HTTP response of the server.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
OptionspublicSends an HTTP request to the specified URL using the OPTIONS HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
PatchpublicSends an HTTP request to the specified URL with the specified data (ASource) using the PATCH HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
PatchAlternativepublicSends an HTTP request to the specified URL with the specified data (ASource) using the PATCH HTTP request method masked as a PUT request method, waits for the server to send a response, and returns the HTTP response of the server.
PostpublicSends an HTTP request to the specified URL with the specified data using the POST HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
PutpublicSends an HTTP request to the specified URL with the specified data (ASource) using the PUT HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
QualifiedClassNamepublicReturns the qualified name of the class.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetConnectionTimeoutprotectedSetter of ConnectionTimeout.
SetCredentialsStorageprotectedSetter for the CredentialsStorage property.
SetCustomHeaderValueprotectedSets the given Name and Value for the CustomHeaders.
SetMaxRedirectsprotectedSetter of FMaxRedirects.
SetProxySettingsprotectedSetter for the ProxySettings property.
SetResponseTimeoutprotectedSetter of ResponseTimeout.
SetUserAgentpublic
SupportedSchemesprotected
ToStringpublicReturns a string containing the class name.
TracepublicSends an HTTP request to the specified URL using the TRACE HTTP request method, waits for the server to send a response, and returns the HTTP response of the server.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.