headers_parse_status_line


Description:

public bool headers_parse_status_line (string status_line, out HTTPVersion ver, out uint status_code, out string reason_phrase)

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:

status_line

an HTTP Status-Line

ver

if non-%NULL, will be filled in with the HTTP version

status_code

if non-%NULL, will be filled in with the status code

reason_phrase

if non-%NULL, will be filled in with the reason phrase

Returns:

true if status_line was parsed successfully.


Namespace: Soup
Package: libsoup-2.4