Sign in Join
FPDoc Onlineexperiment

THTTPHeader.SetHeader procedure

Member of THTTPHeaderpublicIn unit HTTPDefs

Sets the value of a specific header field

Declaration

pascal
procedure SetHeader(AHeader: THeader; const AValue: string)

Arguments

AHeader

Header field type to set

AValue

Value to set for the header field

Description

SetHeader assigns a value to a specific HTTP header field. This method updates the header field with the provided value.

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