Sign in Join
FPDoc Onlineexperiment

THTTPHeader.SetCustomHeader procedure

Member of THTTPHeaderpublicIn unit HTTPDefs

Sets a custom header field value by name

Declaration

pascal
procedure SetCustomHeader(const Name: string; const Value: string)
 ; virtual

Arguments

Name

Name of the custom header field

Value

Value to set for the custom header field

Description

SetCustomHeader assigns a value to a custom (non-standard) HTTP header field. This allows setting application-specific header extensions beyond standard HTTP headers.

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