System.Net.HttpClient.THTTPClient.DoGetRequestInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetRequestInstance(const ARequestMethod: string; const AURI: TURI): IURLRequest; override;

C++

virtual System::Net::Urlclient::_di_IURLRequest __fastcall DoGetRequestInstance(const System::UnicodeString ARequestMethod, const System::Net::Urlclient::TURI &AURI);

Properties

Type Visibility Source Unit Parent
function protected
System.Net.HttpClient.pas
System.Net.HTTPClient.hpp
System.Net.HttpClient THTTPClient

Description

Returns a request instance.

System.Net.HttpClient.THTTPClient.DoGetRequestInstance inherits from System.Net.URLClient.TURLClient.DoGetRequestInstance. All content below this line refers to System.Net.URLClient.TURLClient.DoGetRequestInstance.

Note: Subclasses of TURLClient must provide their own implementation of DoGetRequestInstance, which should work as described below. When you call TURLClient.DoGetRequestInstance, it raises an ENetURIClientException exception.

Returns a request instance.

See Also