| 173 |
173 |
| 174 void http_client_free(HttpClient *client); |
174 void http_client_free(HttpClient *client); |
| 175 |
175 |
| 176 int http_client_set_addr(HttpClient *client, int domain, const struct sockaddr *addr, socklen_t addrlen); |
176 int http_client_set_addr(HttpClient *client, int domain, const struct sockaddr *addr, socklen_t addrlen); |
| 177 |
177 |
| |
178 int http_client_set_socket(HttpClient *client, int socketfd); |
| |
179 |
| 178 int http_client_set_method(HttpClient *client, const char *method); |
180 int http_client_set_method(HttpClient *client, const char *method); |
| 179 |
181 |
| 180 int http_client_set_uri(HttpClient *client, const char *uri); |
182 int http_client_set_uri(HttpClient *client, const char *uri); |
| 181 |
183 |
| 182 int http_client_set_method_len(HttpClient *client, const char *method, size_t len); |
184 int http_client_set_method_len(HttpClient *client, const char *method, size_t len); |