new_message


Description:

public Message new_message (string method, string uri_string) throws Error

Creates a new Message, similar to Message, but also presets request headers with "User-Agent" to be "Evolution/version" and with "Connection" to be "close".

See also new_message_from_uri.

Parameters:

this

an SoupSession

method

an HTTP method

uri_string

a URI string to use for the request

Returns:

a new Message, or null on error




2022 vala-language.org