Unit HTTPSUnit

Uses
Classes, Interfaces, Objects and Records
Types
Constants
Variables

Description

Tools for handling HTTPS requests.

Overview

Functions and Procedures

function CheckHTTPSURL(const wHost: UnicodeString; const wPath: UnicodeString; const UserAgent: UnicodeString = ''): Boolean;

Description

Functions and Procedures

function CheckHTTPSURL(const wHost: UnicodeString; const wPath: UnicodeString; const UserAgent: UnicodeString = ''): Boolean;

Checks if a given URL is valid and accessible via HTTPS.

Parameters
wHost
The host name or IP address of the server.
wPath
The path to the resource on the server.
UserAgent
The user agent string to be used in the HTTP request.
Returns

True if the URL is valid and accessible, False otherwise.