- public void auth_credentials_free (AuthCredential credentials)
- public Result connection_accept (Socket socket, out Connection? conn, Cancellable? cancellable = null)
Accept a new connection on socket
and create a new
Connection for handling communication on new socket.
- public Result connection_create (Url url, out Connection conn)
Create a newly allocated
Connection from url
and store it in conn
.
- public Result connection_create_from_socket (Socket socket, string ip, uint16 port, string initial_buffer, out Connection? conn)
Create a new
Connection for handling communication on the existing socket
socket
.
- public HeaderField find_header_field (string header)
- public Method find_method (string method)
- public string? generate_digest_auth_response (string? algorithm, string method, string realm, string username, string password, string uri, string nonce)
Calculates the digest auth response from the values given by the server and
the username and password.
- public string? generate_digest_auth_response_from_md5 (string? algorithm, string method, string md5, string uri, string nonce)
Calculates the digest auth response from the values given by the server and
the md5sum.
- public bool header_allow_multiple (HeaderField field)
Check whether field
may appear multiple times in a message.
- public unowned string? header_as_text (HeaderField field)
Convert field
to a string.
- public Result message_new (out Message msg)
- public Result message_new_data (out Message msg, uint8 channel)
Create a new data
Message with channel
and store the result message in
msg
.
- public Result message_new_request (out Message msg, Method method, string uri)
Create a new
Message with method
and uri
and store the
result request message in msg
.
- public Result message_new_response (out Message msg, StatusCode code, string? reason, Message? request)
Create a new response
Message with code
and reason
and store the
result message in msg
.
- public unowned string? method_as_text (Method method)
- public string options_as_text (Method options)
Convert options
to a string.
- public Method options_from_text (string options)
Convert the comma separated list options
to a
Method bitwise or of methods.
- public bool range_convert_units (TimeRange range, RangeUnit unit)
- public void range_free (TimeRange range)
- public bool range_get_times (TimeRange range, out ClockTime min, out ClockTime max)
- public Result range_parse (string rangestr, out TimeRange range)
- public string range_to_string (TimeRange range)
- public unowned string status_as_text (StatusCode code)
Convert code
to a string.
- public string strresult (Result result)
Convert result
in a human readable string.
- public Result transport_get_manager (TransMode trans, out unowned string? manager, uint option)
- public Result transport_get_mime (TransMode trans, out unowned string mime)
- public Result transport_init (out Transport transport)
- public Result transport_new (out Transport transport)
- public Result transport_parse (string str, out Transport transport)
- public Result url_parse (string urlstr, out Url? url)
Parse the RTSP urlstr
into a newly allocated
Url.
- public unowned string version_as_text (Version version)