Skip to content

THTTPHeader.LoadFromStream

Loads HTTP headers from a stream

Declaration

Source position: httpdefs.pp line 411

public 
function THTTPHeader.LoadFromStream(Stream: TStream; 
                                   IncludeCommand: Boolean) : Integer;

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).