pixwhile/routes/routes.h

11 lines
445 B
C++

#pragma once
#include <httplib/httplib.h>
struct Config; // forward declaration from ../config.h
class PixivClient; // forward declaration from ../pixivclient.h
void home_route(const httplib::Request& req, httplib::Response& res, const Config& config);
void css_route(const httplib::Request& req, httplib::Response& res);
void users_route(const httplib::Request& req, httplib::Response& res, const Config& config, PixivClient& pixiv_client);