mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
Base: Launch WebSocket at session start-up
This commit is contained in:
parent
ac7b0e69e5
commit
e9e94ef3cc
4 changed files with 11 additions and 12 deletions
|
@ -18,7 +18,7 @@ class WebSocket;
|
|||
class WebSocketClient final
|
||||
: public IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint>
|
||||
, public WebSocketClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(WebSocketClient, "/tmp/portal/websocket"sv)
|
||||
IPC_CLIENT_CONNECTION(WebSocketClient, "/tmp/user/%uid/portal/websocket"sv)
|
||||
|
||||
public:
|
||||
RefPtr<WebSocket> connect(const URL&, String const& origin = {}, Vector<String> const& protocols = {}, Vector<String> const& extensions = {}, HashMap<String, String> const& request_headers = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue