mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
remove unused code, mostly imports
This commit is contained in:
@@ -30,8 +30,6 @@ const Completion = IO.Completion;
|
||||
const AcceptError = IO.AcceptError;
|
||||
const RecvError = IO.RecvError;
|
||||
const SendError = IO.SendError;
|
||||
const CloseError = IO.CloseError;
|
||||
const CancelError = IO.CancelOneError;
|
||||
const TimeoutError = IO.TimeoutError;
|
||||
const Loop = @import("runtime/loop.zig").Loop;
|
||||
|
||||
@@ -947,10 +945,6 @@ const OpCode = enum(u8) {
|
||||
pong = 128 | 10,
|
||||
};
|
||||
|
||||
const CloseCode = enum {
|
||||
timeout,
|
||||
};
|
||||
|
||||
fn fillWebsocketHeader(buf: std.ArrayListUnmanaged(u8)) []const u8 {
|
||||
// can't use buf[0..10] here, because the header length
|
||||
// is variable. If it's just 2 bytes, for example, we need the
|
||||
|
||||
Reference in New Issue
Block a user