libexpress 0.0.1
Express Server Framework in C
Loading...
Searching...
No Matches
controller.h
Go to the documentation of this file.
1
8#ifndef __CONTROLLER_LIBEXRESS_H
9#define __CONTROLLER_LIBEXRESS_H 1
10
11#include "req.h"
12#include "res.h"
13
14typedef void (controller_t) (req_t *req, res_t *res);
15typedef controller_t middleware_t;
16
17#endif
This contains all the request related material.
This contains all the response related material.
Request made by client.
Definition: req.h:21
Response being sent to the client.
Definition: res.h:27