6#ifndef __CWIST_FLASH_H__
7#define __CWIST_FLASH_H__
char * cwist_flash_pop_all_json(cwist_http_request *req)
Serialize all flash messages to a JSON object string. Caller must free the returned string.
const char * cwist_flash_get(cwist_http_request *req, const char *key)
Get a flash message and consume it (one-time read).
void cwist_flash_set(cwist_http_request *req, const char *key, const char *value)
Set a flash message on the request.
const char * cwist_flash_peek(cwist_http_request *req, const char *key)
Peek at a flash message without consuming it.
HTTP Protocol Definitions and Helpers.