THTTPHeader.LoadFromStream function
Loads HTTP headers from a stream
Declaration
function LoadFromStream(Stream: TStream; IncludeCommand: Boolean)
: IntegerArguments
Stream | Stream containing HTTP header data |
IncludeCommand | Whether to include the command line in parsing |
Function result
True if headers were loaded successfully
Description
LoadFromStream parses HTTP header data from a stream and populates the header fields.
This method can optionally include parsing of the command line (request/status line).
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
