parseRequest

Parses an HTTP request from a string.

Tuple!(HttpRequest, int)
parseRequest
(
ref MsgParser!Msg requestParser
,
string s
)

Parameters

s string

The raw HTTP request string.

Return Value

Type: Tuple!(HttpRequest, int)

A tuple containing the http request and the size of data read.