mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibWebSocket: Switch to using Core::Stream
As LibTLS now supports the Core::Stream APIs, we can get rid of the split paths for TCP/TLS and significantly simplify the code as well. Provided to you free of charge by the Core::Stream-ification team :^)
This commit is contained in:
parent
d66c513131
commit
3f614a8fca
11 changed files with 142 additions and 348 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <AK/Span.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibWebSocket/ConnectionInfo.h>
|
||||
#include <LibWebSocket/Impl/AbstractWebSocketImpl.h>
|
||||
#include <LibWebSocket/Impl/WebSocketImpl.h>
|
||||
#include <LibWebSocket/Message.h>
|
||||
|
||||
namespace WebSocket {
|
||||
|
@ -104,7 +104,7 @@ private:
|
|||
String m_last_close_message;
|
||||
|
||||
ConnectionInfo m_connection;
|
||||
RefPtr<AbstractWebSocketImpl> m_impl;
|
||||
RefPtr<WebSocketImpl> m_impl;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue