libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
Cookie Encoding

URL encoding/decoding for cookie values. More...

Functions

char * cookie_url_decode (const char *encoded)
 URL-decode a string.
 
char * cookie_url_encode (const char *decoded)
 URL-encode a string.
 

Detailed Description

URL encoding/decoding for cookie values.

Function Documentation

◆ cookie_url_decode()

char * cookie_url_decode ( const char * encoded)

URL-decode a string.

Parameters
encodedURL-encoded string
Returns
Decoded string (caller must free), or NULL on error

◆ cookie_url_encode()

char * cookie_url_encode ( const char * decoded)

URL-encode a string.

Parameters
decodedPlain string
Returns
URL-encoded string (caller must free), or NULL on error