diff options
author | 2022-10-17 21:48:37 -0700 | |
---|---|---|
committer | 2022-10-17 21:48:37 -0700 | |
commit | a10a8e9c70d883c230fd5f8f8d2c2550e35ea80c (patch) | |
tree | a261184cad4654fa1038fac6f570568a0735823e /src/bun.js/bindings/webcore/WebSocket.h | |
parent | b595ddf20dee4710f0b4c4b46cd117bcb78e7af6 (diff) | |
download | bun-a10a8e9c70d883c230fd5f8f8d2c2550e35ea80c.tar.gz bun-a10a8e9c70d883c230fd5f8f8d2c2550e35ea80c.tar.zst bun-a10a8e9c70d883c230fd5f8f8d2c2550e35ea80c.zip |
Load fewer copies of uWS
Diffstat (limited to 'src/bun.js/bindings/webcore/WebSocket.h')
-rw-r--r-- | src/bun.js/bindings/webcore/WebSocket.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bun.js/bindings/webcore/WebSocket.h b/src/bun.js/bindings/webcore/WebSocket.h index 2043d58b9..796268d7a 100644 --- a/src/bun.js/bindings/webcore/WebSocket.h +++ b/src/bun.js/bindings/webcore/WebSocket.h @@ -112,15 +112,11 @@ private: typedef union AnyWebSocket { WebSocketClient* client; WebSocketClientTLS* clientSSL; - uWS::WebSocket<false, true, WebCore::WebSocket*>* server; - uWS::WebSocket<true, true, WebCore::WebSocket*>* serverSSL; } AnyWebSocket; enum ConnectedWebSocketKind { None, Client, ClientSSL, - Server, - ServerSSL }; explicit WebSocket(ScriptExecutionContext&); |