CShore/router.h

13 lines
193 B
C
Raw Normal View History

2021-04-29 16:40:41 +00:00
#ifndef ROUTER_H
#define ROUTER_H
#include <misc.h>
#include "handler.h"
int registerRoute(method_t method, const char* path, handle_t handle);
response_t routerHandler(ctx_t ctx);
#endif