Message.newFromUri

soup.message.Message newFromUri(string method, glib.uri.Uri uri)

Creates a new empty #SoupMessage, which will connect to uri.

Parameters

methodthe HTTP method for the created request
urithe destination endpoint

Returns

the new #SoupMessage