mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
52 lines
1.6 KiB
C
52 lines
1.6 KiB
C
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef RIPPLE_WEBSOCKET_RIPPLEHEADER
|
|
#define RIPPLE_WEBSOCKET_RIPPLEHEADER
|
|
|
|
/** Include this to get the @ref ripple_websocket module.
|
|
|
|
This module provides support for websockets. It requires both
|
|
boost::asio and OpenSSL. It is a fork of the original websocketpp project
|
|
written in C++.
|
|
|
|
@note This code contains bugs including one known deadlock. It's a terrible
|
|
mess and it needs to be replaced.
|
|
|
|
@file ripple_websocket.h
|
|
@ingroup ripple_websocket
|
|
@deprecated
|
|
*/
|
|
|
|
// needed before inclusion of stdint.h for INT32_MIN/INT32_MAX macros
|
|
#ifndef __STDC_LIMIT_MACROS
|
|
#define __STDC_LIMIT_MACROS
|
|
#endif
|
|
|
|
// VFALCO NOTE Log dependencies have wormed their way into websocketpp,
|
|
// which needs the ripple_basic module to compile.
|
|
//
|
|
// TODO Remove the dependency on ripple_basics and Log.
|
|
// Perhaps by using an adapter.
|
|
//
|
|
#include "../modules/ripple_basics/ripple_basics.h"
|
|
|
|
// This should be in the .cpp
|
|
#include "beast/modules/beast_asio/beast_asio.h"
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
#include "websocket/src/common.hpp"
|
|
#include "websocket/src/sockets/socket_base.hpp"
|
|
|
|
#include "autosocket/ripple_AutoSocket.h" // must come before autotls.hpp
|
|
|
|
#include "websocket/src/sockets/autotls.hpp"
|
|
#include "websocket/src/websocketpp.hpp"
|
|
#include "websocket/src/logger/logger.hpp"
|
|
|
|
#endif
|