An HTTP reply.
More...
#include <http.h>
|
int | code |
| default = 200
|
|
ecs_strbuf_t | body |
| default = ""
|
|
const char * | status |
| default = OK
|
|
const char * | content_type |
| default = application/json
|
|
ecs_strbuf_t | headers |
| default = ""
|
|
An HTTP reply.
Definition at line 91 of file http.h.
◆ body
ecs_strbuf_t ecs_http_reply_t::body |
default = ""
Definition at line 93 of file http.h.
◆ code
int ecs_http_reply_t::code |
default = 200
Definition at line 92 of file http.h.
◆ content_type
const char* ecs_http_reply_t::content_type |
default = application/json
Definition at line 95 of file http.h.
◆ headers
ecs_strbuf_t ecs_http_reply_t::headers |
default = ""
Definition at line 96 of file http.h.
◆ status
const char* ecs_http_reply_t::status |
default = OK
Definition at line 94 of file http.h.
The documentation for this struct was generated from the following file: