1#ifndef WIRED_SRVRUN_HTTPX_H
2#define WIRED_SRVRUN_HTTPX_H
int wired_http_reply_text(wired_http_exchange *x, u16 status, const char *text)
Answer x with a text/plain body: sets status (0 = 200), content_type and appends text to x->body (cut...
int wired_http_add_field(wired_http_exchange *x, const char *name, const char *value)
Append the response header field name: value to x (first round only).
The complete server event loop: the sanctioned socket-owning layer over the socket-free srvboot/srvlo...
One request/response exchange handed to a wired_http_handler.
Definition srvrun.h:183
unsigned short u16
unsigned 16-bit integer
Definition types.h:17