mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
6e19ab2bbc
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
13 lines
378 B
Text
13 lines
378 B
Text
#include <AK/URL.h>
|
|
|
|
endpoint WebSocketClient
|
|
{
|
|
// Connection API
|
|
connected(i32 connection_id) =|
|
|
received(i32 connection_id, bool is_text, ByteBuffer data) =|
|
|
errored(i32 connection_id, i32 message) =|
|
|
closed(i32 connection_id, u16 code, DeprecatedString reason, bool clean) =|
|
|
|
|
// Certificate requests
|
|
certificate_requested(i32 connection_id) =|
|
|
}
|