API:System.Net.HttpClient.THTTPClient.GetRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetRequest(const ARequestMethod: string; const AURI: TURI): IHTTPRequest; overload;
function GetRequest(const ARequestMethod, AURL: string): IHTTPRequest; overload;

C++

HIDESBASE _di_IHTTPRequest __fastcall GetRequest(const System::UnicodeString ARequestMethod, const System::Net::Urlclient::TURI &AURI)/* overload */;
HIDESBASE _di_IHTTPRequest __fastcall GetRequest(const System::UnicodeString ARequestMethod, const System::UnicodeString AURL)/* overload */;

Properties

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

Description

Gets a request instance associated with the client for the given Request Method and URI.

System.Net.HttpClient.THTTPClient.GetRequest inherits from System.Net.URLClient.TURLClient.GetRequest. All content below this line refers to System.Net.URLClient.TURLClient.GetRequest. Gets a request instance associated with the client for the given Request Method and URI.

Method parameters:

  • ARequestMethod: The request method to be performed.
  • AURI: The URI to use for the request.