mg_get_cookie.md 594 B

Civetweb API Reference

mg_get_cookie( cookie, var_name, buf, buf_len );

Parameters

Parameter Type Description
cookie const char *
var_name const char *
buf char * The buffer where to store the contents of the cookie
buf_len size_t The length of the cookie buffer, including the terminating NUL

Return Value

Type Description
int The length of the cookie or an error code

Description

See Also