Sign in Join
FPDoc Onlineexperiment

EHTTPClient.Create constructor

Member of EHTTPClientpublicIn unit fpHTTPClient

Creates an HTTP client exception with status information

Declaration

pascal
constructor Create(const AStatusText: string; AStatusCode: Integer)
 ; overload

Arguments

AStatusText

The HTTP status text or error message

AStatusCode

The HTTP status code (if applicable)

Description

Creates an HTTP client exception with the specified status text and status code. This provides detailed error information from HTTP operations.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.