--- a/src/server/proxy/httpclient.h Thu Feb 12 16:02:09 2026 +0100 +++ b/src/server/proxy/httpclient.h Fri Feb 13 12:16:09 2026 +0100 @@ -100,8 +100,18 @@ HttpClient* http_client_new(EventHandler *ev); +void http_client_free(HttpClient *client); + int http_client_set_addr(HttpClient *client, const struct sockaddr *addr, socklen_t addrlen); +int http_client_set_method(HttpClient *client, const char *method); + +int http_client_set_uri(HttpClient *client, const char *uri); + +int http_client_set_method_len(HttpClient *client, const char *method, size_t len); + +int http_client_set_uri_len(HttpClient *client, const char *uri, size_t len); + /* * Adds a request header *