Loads HTTP headers from a stream
Source position: httpdefs.pp line 399
public function THTTPHeader.LoadFromStream( |
Stream: TStream; |
IncludeCommand: Boolean |
):Integer; |
Stream |
|
Stream containing HTTP header data |
IncludeCommand |
|
Whether to include the command line in parsing |
True if headers were loaded successfully
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).