Skip to content

Instantly share code, notes, and snippets.

@daparic
Last active June 19, 2023 12:09
Show Gist options
  • Select an option

  • Save daparic/97d46967a4a570aa2dd48ba74a697d6d to your computer and use it in GitHub Desktop.

Select an option

Save daparic/97d46967a4a570aa2dd48ba74a697d6d to your computer and use it in GitHub Desktop.

Test

// clang++ -o example example.cpp -l restbed -l ssl -l crypt
#include <set>
#include <map>
#include <memory>
#include <string>
#include <stdexcept>

#include <restbed>

//Project Includes
#include <corvusoft/restbed/session.hpp>

//External Includes
// #include <catch.cpp>   

int main(int argc, char* argv[])
{
	std::shared_ptr<restbed::Settings> _settings = std::make_shared<restbed::Settings>();;
	_settings->set_port(8080);
	const restbed::Session session("f47ac10b-58cc-4372-a567-0e02b2c3d479");

	return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment