mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
add initial WebSOCKS implementation
This commit is contained in:
@@ -200,7 +200,13 @@ namespace config {
|
||||
("websockets.enabled", value<bool>()->default_value(false), "enable websocket server")
|
||||
("websockets.address", value<std::string>()->default_value("127.0.0.1"), "address to bind websocket server on")
|
||||
("websockets.port", value<uint16_t>()->default_value(7666), "port to bind websocket server on");
|
||||
|
||||
|
||||
options_description websocks("WebSOCKS options");
|
||||
websocks.add_options()
|
||||
("websocks.enabled", value<bool>()->default_value(false), "enable WebSOCKS server")
|
||||
("websocks.address", value<std::string>()->default_value("127.0.0.1"), "address to bind WebSOCKS server on")
|
||||
("websocks.port", value<uint16_t>()->default_value(7666), "port to bind WebSOCKS server on");
|
||||
|
||||
m_OptionsDesc
|
||||
.add(general)
|
||||
.add(limits)
|
||||
@@ -217,6 +223,7 @@ namespace config {
|
||||
.add(addressbook)
|
||||
.add(trust)
|
||||
.add(websocket)
|
||||
.add(websocks)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user