chttp · Section 3
CHTTP_TEXT_BODY
NAME
CHTTP_TEXT_BODY - construct a chttp_request_body for plain-text content
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/chttp.h> CHTTP_TEXT_BODY(d, n)
DESCRIPTION
This macro expands to an initializer for a chttp_request_body that sets Content-Type to "text/plain", the data pointer to d and the byte length to n.