get_context()
get_context()
is for getting the data passing through the middleware chain. It takes req
parameter.
Exmaple usage:
example_context_t *example_ctx = (example_context_t *)get_context(req);
get_context()
is for getting the data passing through the middleware chain. It takes req
parameter.
Exmaple usage:
example_context_t *example_ctx = (example_context_t *)get_context(req);