Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_http_reply_t Struct Reference

An HTTP reply. More...

#include <http.h>

Public Attributes

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 = ""
 

Detailed Description

An HTTP reply.

Definition at line 91 of file http.h.

Member Data Documentation

◆ 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: