Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

THTTPHeader.LoadFromStrings

Loads HTTP headers from a string list

Declaration

Source position: httpdefs.pp line 400

public function THTTPHeader.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.


Documentation generated on: Jan 16 2026