headersParseStatusLine

fnbool headersParseStatusLine(string statusLine, out soup.types.HTTPVersion ver, out uint statusCode, out string reasonPhrase)

Parses the HTTP Status-Line string in status_line into ver, status_code, and reason_phrase.

status_line must be terminated by either "\0" or "\r\n".

Parameters

statusLinean HTTP Status-Line
verif non-null, will be filled in with the HTTP version
statusCodeif non-null, will be filled in with the status code
reasonPhraseif non-null, will be filled in with the reason phrase

Returns

true if status_line was parsed successfully.