Sign in Join
FPDoc Onlineexperiment

THTTPHeader.SetFieldByName procedure

Member of THTTPHeaderpublicIn unit HTTPDefs

Sets a header field value by field name

Declaration

pascal
procedure SetFieldByName(const AName: string; const AValue: string)

Arguments

AName

Name of the header field to set

AValue

Value to set for the header field

Description

SetFieldByName sets a header field value using the field name as a string. This provides a flexible way to set header fields by name rather than by enumerated type.

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