chttpserver · Section 3
chttpsvr_resp_write_str
NAME
chttpsvr_resp_write_str - append a string to the response body
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/chttpserver.h>
ccol_retval chttpsvr_resp_write_str(chttpsvr_resp *resp,
const char *str);
DESCRIPTION
Does the same as chttpsvr_resp_write(resp, str, strlen(str)), except that a NULL resp or str gives ccol_invalid_args.
SEE ALSO
chttpsvr_resp_write(3), chttpsvr_resp_printf(3), chttpsvr_resp_write_json(3)