encode_datalist


Description:


public string encode_datalist (Datalist<string> form_data_set)

Encodes form_data_set into a value of type "application/x-www-form-urlencoded".

Encodes as defined in the HTML 4.01 spec. Unlike [func@form_encode_hash], this preserves the ordering of the form elements, which may be required in some situations.

See also: [ctor@Message.new_from_encoded_form].

Parameters:

form_data_set

a datalist containing name/value pairs

Returns:

the encoded form


Namespace: Soup.Form
Package: libsoup-3.0