[ Version ( since = "3.46" ) ]
public Message new_message_from_uri (string method, Uri uri) throws Error
Creates a new Message, similar to Message.from_uri, but also presets request headers with "User-Agent" to be "Evolution/version" and with "Connection" to be "close".
See also new_message.
this |
an SoupSession |
method |
an HTTP method |
uri |
a Uri to use for the request |
a new Message, or |