8#ifndef __LIBEXPRESS_REQ_H
9#define __LIBEXPRESS_REQ_H 1
12#include <libhmap/hmap.h>
13#include <libqueue/queue.h>
char * get_req_param(req_t *req, const char *param)
Get the value of a particular request path parameter.
Definition: req.c:157
char * get_req_path(req_t *req)
Get the path of the request.
Definition: req.c:163
char * get_req_header(req_t *req, const char *header)
Get a particular header from the request.
Definition: req.c:145
char * get_req_method(req_t *req)
Get the method of the request.
Definition: req.c:151
char * get_req_query(req_t *req, const char *query)
Get a particular query from the request.
Definition: req.c:169
req_t * parse_req(char *req_str, int size)
Parses the HTTP request string sent by client.
Definition: req.c:6
char * get_req_body(req_t *req)
Get the body of request.
Definition: req.c:139
Request made by client.
Definition: req.h:21