pixwhile/routes/routes.h

12 lines
581 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-07 15:06:31 +00:00
void user_illustrations_route(const httplib::Request& req, httplib::Response& res, const Config& config, PixivClient& pixiv_client);
2023-04-09 13:31:50 +00:00
void artworks_route(const httplib::Request& req, httplib::Response& res, const Config& config, PixivClient& pixiv_client);