Data.Cloud.CloudAPI.TCloudHTTP.Options
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp
| |
| Unit: Data.Cloud.CloudAPI | |
| Parent: TCloudHTTP | |
Delphi
function Options(const AURL: string): string; overload;
procedure Options(const AURL: string; AResponseContent: TStream); overload;
C++
System::UnicodeString __fastcall Options(const System::UnicodeString AURL)/* overload */;
void __fastcall Options(const System::UnicodeString AURL, System::Classes::TStream* AResponseContent)/* overload */;
Description
Sends a request to the specified URL using the OPTIONS HTTP method, and returns the response string.
If you specify a stream (AResponseContent), Options fills that stream with the response content as the content is received. For more information, see THTTPClient.Options.