parent
2ab93c9680
commit
93705e0853
|
@ -116,12 +116,11 @@ struct uh_str *uh_get_path(struct uh_connection *con);
|
||||||
struct uh_str *uh_get_query(struct uh_connection *con);
|
struct uh_str *uh_get_query(struct uh_connection *con);
|
||||||
struct uh_str uh_get_var(struct uh_connection *con, const char *name);
|
struct uh_str uh_get_var(struct uh_connection *con, const char *name);
|
||||||
struct uh_str *uh_get_header(struct uh_connection *con, const char *name);
|
struct uh_str *uh_get_header(struct uh_connection *con, const char *name);
|
||||||
|
int uh_get_con_sock(struct uh_connection *con);
|
||||||
|
|
||||||
/* Unescapes strings like '%7B1,%202,%203%7D' would become '{1, 2, 3}' */
|
/* Unescapes strings like '%7B1,%202,%203%7D' would become '{1, 2, 3}' */
|
||||||
int uh_unescape(const char *str, int len, char *out, int olen);
|
int uh_unescape(const char *str, int len, char *out, int olen);
|
||||||
|
|
||||||
int uh_get_con_sock(struct uh_connection *con);
|
|
||||||
|
|
||||||
#if (UHTTP_SSL_ENABLED)
|
#if (UHTTP_SSL_ENABLED)
|
||||||
/* Init ssl for the server */
|
/* Init ssl for the server */
|
||||||
int uh_ssl_init(struct uh_server *srv, const char *cert, const char *key);
|
int uh_ssl_init(struct uh_server *srv, const char *cert, const char *key);
|
||||||
|
|
Loading…
Reference in New Issue