46 |
46 |
47 int http_start_response(Session *sn, Request *rq); |
47 int http_start_response(Session *sn, Request *rq); |
48 |
48 |
49 int request_header(char *name, char **value, Session *sn, Request *rq); |
49 int request_header(char *name, char **value, Session *sn, Request *rq); |
50 |
50 |
|
51 void http_get_scheme_host_port( |
|
52 Session *sn, |
|
53 Request *rq, |
|
54 char **scheme, |
|
55 char **host, |
|
56 uint16_t *port); |
|
57 |
51 #define sbuf_write(out, buf, len) sbuf_append(out, sstrn(buf, len)) |
58 #define sbuf_write(out, buf, len) sbuf_append(out, sstrn(buf, len)) |
52 |
59 |
53 #ifdef __cplusplus |
60 #ifdef __cplusplus |
54 } |
61 } |
55 #endif |
62 #endif |