55 using Ptr = std::shared_ptr<Server>;
59 bool get_use_ssl()
const {
return use_ssl_; }
61 void set_use_ssl(
bool use_ssl){ use_ssl_ = use_ssl; }
63 void initialize(Application& self)
override;
64 void uninitialize()
override;
65 int main(
const std::vector<std::string>& args)
override;
68 void SetupParams_(HTTPServerParams::Ptr params);
72 std::string server_name_;
74 std::unique_ptr<HTTPServer> http_server_;