Home | History | Annotate | Download | only in libevent

Lines Matching full:http

45  * Basic support for HTTP serving.
49 * need to write HTTP code. The following prototypes and definitions provide
50 * an application with a minimal interface for making HTTP requests and for
51 * creating a very simple HTTP server.
68 /** Create a new HTTP server
70 * @param base (optional) the event base to receive the HTTP events
76 * Binds an HTTP server on the specified address and port.
78 * Can be called multiple times to bind the same http server
81 * @param http a pointer to an evhttp object
87 int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);
90 * Makes an HTTP server accept connections on the specified socket
93 * of an http server, or when a socket has been communicated via file
94 * descriptor passing in situations where an http servers does not have
97 * Can be called multiple times to have the http server listen to
100 * @param http a pointer to an evhttp object
105 int evhttp_accept_socket(struct evhttp *http, int fd);
108 * Free the previously created HTTP server.
112 * @param http the evhttp server object to be freed
115 void evhttp_free(struct evhttp* http);
130 * Set the timeout for an HTTP request.
132 * @param http an evhttp object
143 * @param error the HTTP error code
153 * @param code the HTTP response code to send
166 * Start an HTTP server on the specified address and port
170 * @param address the address to which the HTTP server should be bound
171 * @param port the port number on which the HTTP server should listen
214 char *uri; /* uri after HTTP request was parsed */
216 char major; /* HTTP Major number */
217 char minor; /* HTTP Minor number */
219 int response_code; /* HTTP Response code */
256 * A connection object that can be used to for making HTTP requests. The
258 * http request object.
263 /** Frees an http connection */
266 /** sets the ip address from which http connections are made */
270 /** sets the local port from which http connections are made */
304 /* Interfaces for dealing with HTTP headers */
341 * http://foo.com/?q=test&s=some+thing