foreseen

A text-based gemini browser with prefetching
git clone git://git.laack.co/foreseen.git
Log | Files | Refs | README | LICENSE

gemini-client.hpp (276B)


      1 #pragma once
      2 
      3 #include "link.hpp"
      4 #include "site.hpp"
      5 
      6 class GeminiClient {
      7     Site* getNetworkedSite(Link link, std::string crtPath, std::string keyPath);
      8 
      9    public:
     10     Site* fetchSite(Link link, std::string crtPath = "",
     11                     std::string keyPath = "");
     12 };