Static method to perform a simple HTTP OPTIONS request
Source position: fphttpclient.pp line 342
public class procedure TFPCustomHTTPClient.SimpleOptions( |
const URL: string; |
const Response: TStream |
); |
const URL: string; |
Response: TStrings |
); |
const URL: string; |
const LocalFileName: string |
); |
const URL: string |
URL |
|
The URL to send the OPTIONS request to |
Response |
|
Variable to store the response content as string |
URL |
|
The URL to send the OPTIONS request to |
Response |
|
Variable to store the response content as string |
URL |
|
The URL to send the OPTIONS request to |
LocalFileName |
|
Local filename to save the response to |
URL |
|
The URL to send the OPTIONS request to |
The response content as string
Static utility method for performing a simple HTTP OPTIONS request without requiring an HTTP client instance.
May raise HTTP-related exceptions on connection errors.
|
Performs an HTTP OPTIONS request |