request_new


Description:


public Message request_new (string method, string uri, ...)

Creates a new soupmessage and sets it up to send the given data to uri via method .

(That is, if method is "GET", it will encode the form data into uri's query field, and if method is "POST", it will encode it into the soupmessage's request_body.)

Parameters:

method

the HTTP method, either "GET" or "POST"

uri

the URI to send the form data to

...

value of first_field, followed by additional field names and values, terminated by null .

first_field

name of the first form field

Returns:

the new soupmessage


Namespace: Soup.Form
Package: libsoup-2.4