-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partially fixed digest auth (websockets don't work), explicitly inclu…
…de needed modules from boost
- Loading branch information
Showing
11 changed files
with
184 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
#ifndef COMMON_HPP | ||
#define COMMON_HPP | ||
|
||
#include <boost/beast/core.hpp> | ||
#include <boost/beast/http.hpp> | ||
#include <boost/beast/websocket.hpp> | ||
#include <boost/asio/dispatch.hpp> | ||
#include <boost/asio/strand.hpp> | ||
#include <boost/config.hpp> | ||
namespace boost { | ||
namespace asio {} | ||
namespace beast { | ||
namespace http {} | ||
namespace net = ::boost::asio; | ||
namespace websocket {} | ||
} | ||
} | ||
|
||
#include <iostream> | ||
#include "version.hpp" | ||
|
||
namespace beast = boost::beast; | ||
namespace http = beast::http; | ||
namespace net = boost::beast::net; | ||
using tcp = net::ip::tcp; | ||
namespace websocket = beast::websocket; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.