headersParseStatusLine
fn
bool 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
statusLine | an HTTP Status-Line |
ver | if non-null, will be filled in with the HTTP version |
statusCode | if non-null, will be filled in with the status code |
reasonPhrase | if non-null, will be filled in with the reason phrase |
Returns
true if status_line was parsed successfully.