forked from boostorg/beast
stream_base::timeout::suggested is a nested function
This commit is contained in:
@@ -45,11 +45,11 @@ public:
|
||||
|
||||
{
|
||||
ws.set_option(
|
||||
stream_base::suggested_settings(
|
||||
stream_base::timeout::suggested(
|
||||
role_type::client));
|
||||
|
||||
ws.set_option(
|
||||
stream_base::suggested_settings(
|
||||
stream_base::timeout::suggested(
|
||||
role_type::server));
|
||||
|
||||
ws.set_option({
|
||||
|
||||
@@ -88,7 +88,7 @@ snippets()
|
||||
//stream<tcp_stream> ws(ioc);
|
||||
|
||||
{
|
||||
//[code_websocket_7_1
|
||||
//[code_websocket_7_3
|
||||
|
||||
//]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user