1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

LibWebView+LibProtocol: Allow app to pass custom WebSocketClients

This commit is contained in:
Andrew Kaster 2023-08-02 18:08:24 -06:00 committed by Andreas Kling
parent a1e5a6ac40
commit dd694215bc
3 changed files with 8 additions and 2 deletions

View file

@ -40,6 +40,7 @@ private:
class WebSocketClientManagerAdapter : public Web::WebSockets::WebSocketClientManager {
public:
static ErrorOr<NonnullRefPtr<WebSocketClientManagerAdapter>> try_create(NonnullRefPtr<Protocol::WebSocketClient>);
static ErrorOr<NonnullRefPtr<WebSocketClientManagerAdapter>> try_create();
virtual ~WebSocketClientManagerAdapter() override;