mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 14:24:31 +02:00
@@ -5,6 +5,7 @@ Version 203
|
|||||||
* saved_handler is a public interface
|
* saved_handler is a public interface
|
||||||
* Use new saved_handler in websocket
|
* Use new saved_handler in websocket
|
||||||
* session_alloc is thread-safe
|
* session_alloc is thread-safe
|
||||||
|
* examples use flat_buffer
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -240,7 +240,7 @@ class websocket_session
|
|||||||
return static_cast<Derived&>(*this);
|
return static_cast<Derived&>(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
beast::multi_buffer buffer_;
|
beast::flat_buffer buffer_;
|
||||||
char ping_state_ = 0;
|
char ping_state_ = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@@ -225,7 +225,7 @@ class websocket_session : public std::enable_shared_from_this<websocket_session>
|
|||||||
net::strand<
|
net::strand<
|
||||||
net::io_context::executor_type> strand_;
|
net::io_context::executor_type> strand_;
|
||||||
net::steady_timer timer_;
|
net::steady_timer timer_;
|
||||||
beast::multi_buffer buffer_;
|
beast::flat_buffer buffer_;
|
||||||
char ping_state_ = 0;
|
char ping_state_ = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user