feat(lander): re-add Server header
This commit is contained in:
parent
cda61f5433
commit
4ae1355cec
4 changed files with 16 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ lnm_err lnm_http_loop_run(lnm_http_loop *hl, uint16_t port);
|
|||
|
||||
void lnm_http_loop_set_api_key(lnm_http_loop *hl, const char *api_key);
|
||||
|
||||
void lnm_http_loop_set_server(lnm_http_loop *hl, const char *value);
|
||||
|
||||
/**
|
||||
* Represents what state an HTTP loop request is currently in.
|
||||
*/
|
||||
|
|
@ -118,6 +120,7 @@ typedef struct lnm_http_loop_gctx {
|
|||
lnm_http_ctx_reset_fn ctx_reset;
|
||||
lnm_http_ctx_free_fn ctx_free;
|
||||
const char *api_key;
|
||||
const char *server;
|
||||
void *c;
|
||||
} lnm_http_loop_gctx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue