pixwhile/routes/routes.h

11 lines
445 B
C
Raw Normal View History

2023-04-03 08:57:51 +00:00
#pragma once
#include <httplib/httplib.h>
2023-04-05 16:36:20 +00:00
struct Config; // forward declaration from ../config.h
class PixivClient; // forward declaration from ../pixivclient.h
2023-04-03 09:32:26 +00:00
void home_route(const httplib::Request& req, httplib::Response& res, const Config& config);
2023-04-03 15:10:08 +00:00
void css_route(const httplib::Request& req, httplib::Response& res);
2023-04-05 16:36:20 +00:00
void users_route(const httplib::Request& req, httplib::Response& res, const Config& config, PixivClient& pixiv_client);