• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/include/event2/

Lines Matching refs:http

41 /** @file event2/http.h
58 #define HTTP_BADREQUEST 400 /**< invalid http request was made */
85 * Can be called multiple times to bind the same http server
88 * @param http a pointer to an evhttp object
94 int evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port);
99 * The returned pointer is not valid after \a http is freed.
101 * @param http a pointer to an evhttp object
107 struct evhttp_bound_socket *evhttp_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t port);
113 * of an http server, or when a socket has been communicated via file
114 * descriptor passing in situations where an http servers does not have
117 * Can be called multiple times to have the http server listen to
120 * @param http a pointer to an evhttp object
125 int evhttp_accept_socket(struct evhttp *http, evutil_socket_t fd);
130 * The returned pointer is not valid after \a http is freed.
132 * @param http a pointer to an evhttp object
137 struct evhttp_bound_socket *evhttp_accept_socket_with_handle(struct evhttp *http, evutil_socket_t fd);
144 struct evhttp_bound_socket *evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listener);
164 * @param http a pointer to an evhttp object
168 void evhttp_del_accept_socket(struct evhttp *http, struct evhttp_bound_socket *bound_socket);
184 * @param http the evhttp server object to be freed
187 void evhttp_free(struct evhttp* http);
190 void evhttp_set_max_headers_size(struct evhttp* http, ev_ssize_t max_headers_size);
192 void evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size);
202 @param http the http server on which to set the methods
205 void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods);
210 @param http the http sever on which to set the callback
216 int evhttp_set_cb(struct evhttp *http, const char *path,
229 @param http the evhttp server object for which to set the callback
233 void evhttp_set_gencb(struct evhttp *http,
237 Adds a virtual host to the http server.
244 is called on the main http server, it will be automatically freed, too.
250 @param http the evhttp object to which to add a virtual host
254 @param vhost the virtual host to add the regular http server.
258 int evhttp_add_virtual_host(struct evhttp* http, const char *pattern,
262 Removes a virtual host from the http server.
264 @param http the evhttp object from which to remove the virtual host
265 @param vhost the virtual host to remove from the regular http server.
269 int evhttp_remove_virtual_host(struct evhttp* http, struct evhttp* vhost);
272 Add a server alias to an http object. The http object can be a virtual
275 @param http the evhttp object
279 int evhttp_add_server_alias(struct evhttp *http, const char *alias);
282 Remove a server alias from an http object.
284 @param http the evhttp object
288 int evhttp_remove_server_alias(struct evhttp *http, const char *alias);
293 * @param http an evhttp object
296 void evhttp_set_timeout(struct evhttp *http, int timeout_in_secs);
418 * when it is given an http request object.
466 /** Frees an http connection */
469 /** sets the ip address from which http connections are made */
473 /** sets the local port from which http connections are made */
666 http://foo.com/?q=test&s=some+thing
804 * mailto url, http://www.example.com:99999/ is not a reasonable HTTP