| 170 |
171 |
| 171 HttpClient* http_client_new(EventHandler *ev); |
172 HttpClient* http_client_new(EventHandler *ev); |
| 172 |
173 |
| 173 void http_client_free(HttpClient *client); |
174 void http_client_free(HttpClient *client); |
| 174 |
175 |
| 175 int http_client_set_addr(HttpClient *client, const struct sockaddr *addr, socklen_t addrlen); |
176 int http_client_set_addr(HttpClient *client, int domain, const struct sockaddr *addr, socklen_t addrlen); |
| 176 |
177 |
| 177 int http_client_set_method(HttpClient *client, const char *method); |
178 int http_client_set_method(HttpClient *client, const char *method); |
| 178 |
179 |
| 179 int http_client_set_uri(HttpClient *client, const char *uri); |
180 int http_client_set_uri(HttpClient *client, const char *uri); |
| 180 |
181 |