// // Created by loki on 6/3/19. // #ifndef SUNSHINE_NVHTTP_H #define SUNSHINE_NVHTTP_H #include #include #include #include #include "thread_safe.h" #define CA_DIR SUNSHINE_ASSETS_DIR "/demoCA" #define PRIVATE_KEY_FILE CA_DIR "/cakey.pem" #define CERTIFICATE_FILE CA_DIR "/cacert.pem" namespace nvhttp { void start(std::shared_ptr shutdown_event); template void pin(std::shared_ptr::Response> response, std::shared_ptr::Request> request); } #endif //SUNSHINE_NVHTTP_H