Message.from_uri


Description:

[ CCode ( has_construct_function = false ) ]
public Message.from_uri (string method, URI uri)

Creates a new empty Message, which will connect to uri

Parameters:

method

the HTTP method for the created request

uri

the destination endpoint (as a URI)

Returns:

the new Message