encode


Description:


public string encode (...)

Encodes the given field names and values into a value of type "application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.

This method requires you to know the names of the form fields (or at the very least, the total number of fields) at compile time; for working with dynamic forms, use encode_hash or encode_datalist.

Parameters:

...

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

first_field

name of the first form field

Returns:

the encoded form


Namespace: Soup.Form
Package: libsoup-2.4