Sign in Join
FPDoc Onlineexperiment

THTTPHeader.LoadFromStrings function

Member of THTTPHeaderpublicIn unit HTTPDefs

Loads HTTP headers from a string list

Declaration

pascal
function LoadFromStrings(Strings: TStrings; IncludeCommand: Boolean)
: Integer; virtual

Arguments

Strings

String list containing HTTP header lines

IncludeCommand

Whether to include the command line in parsing

Function result

True if headers were loaded successfully

Description

LoadFromStrings parses HTTP header data from a string list and populates the header fields. Each string in the list represents a header line in standard HTTP format.

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