feat(config): use toml config file
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
typedef struct cws_request {
|
||||
cws_http_method_e method;
|
||||
string_s *host;
|
||||
string_s *path;
|
||||
string_s *query_string;
|
||||
string_s *http_version;
|
||||
@@ -21,6 +22,8 @@ typedef struct cws_request {
|
||||
|
||||
cws_request_s *cws_http_parse(string_s *request_str);
|
||||
|
||||
char *cws_http_get_host(cws_request_s *request);
|
||||
|
||||
void cws_http_free(cws_request_s *request);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user