mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
remove deprecated constants
This commit is contained in:
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE( exact_match ) {
|
||||
BOOST_CHECK_EQUAL(u->get_secure(), false);
|
||||
BOOST_CHECK_EQUAL(u->get_host(), "www.example.com");
|
||||
BOOST_CHECK_EQUAL(u->get_resource(), "/");
|
||||
BOOST_CHECK_EQUAL(u->get_port(), websocketpp::URI_DEFAULT_PORT);
|
||||
BOOST_CHECK_EQUAL(u->get_port(), websocketpp::uri_default_port);
|
||||
|
||||
env.p.process_handshake(env.req,"",env.res);
|
||||
|
||||
|
||||
@@ -52,18 +52,8 @@ private:
|
||||
|
||||
// TODO: figure out why this fixes horrible linking errors.
|
||||
|
||||
/// Default port for ws:// [deprecated]
|
||||
/**
|
||||
* @deprecated Use uri_default_port instead. Will be removed before 1.0.0
|
||||
*/
|
||||
static uint16_t const URI_DEFAULT_PORT = 80;
|
||||
/// Default port for ws://
|
||||
static uint16_t const uri_default_port = 80;
|
||||
/// Default port for wss:// [deprecated]
|
||||
/**
|
||||
* @deprecated Use uri_default_secure_port instead. Will be removed before 1.0.0
|
||||
*/
|
||||
static uint16_t const URI_DEFAULT_SECURE_PORT = 443;
|
||||
/// Default port for wss://
|
||||
static uint16_t const uri_default_secure_port = 443;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user