aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/include')
-rw-r--r--zenhttp/include/zenhttp/websocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/include/zenhttp/websocket.h b/zenhttp/include/zenhttp/websocket.h
index c08affb98..908b24636 100644
--- a/zenhttp/include/zenhttp/websocket.h
+++ b/zenhttp/include/zenhttp/websocket.h
@@ -72,7 +72,7 @@ public:
virtual void On(WebSocketEvent Evt, EventCallback&& Cb) = 0;
virtual void OnMessage(MessageCallback&& Cb) = 0;
- static std::unique_ptr<WebSocketClient> Create(asio::io_context& IoCtx);
+ static std::shared_ptr<WebSocketClient> Create(asio::io_context& IoCtx);
};
struct WebSocketMessageHeader