#pragma once #include #include #include #include namespace hex { template struct Response { u32 code; T response; }; class Net { public: Net(); ~Net(); Response getString(std::string_view url); Response getJson(std::string_view url); private: CURL *m_ctx; }; }