url_encode


Description:


[ Version ( replacement = "URL.encode" ) ]
public string url_encode (string part, string? escape_extra)

This %-encodes the given URL part and returns the escaped version in allocated memory, which the caller must free when it is done.

Parameters:

part

a URL part

escape_extra

additional characters beyond " \"%#<>{}|\^[]`" to escape (or null)

Returns:

the encoded string


Namespace: Camel
Package: camel-1.2



2022 vala-language.org