diff --git a/src/http/websocket_http_client.zig b/src/http/websocket_http_client.zig index 3bf5dc8afd2f5..d19bebc64eb2b 100644 --- a/src/http/websocket_http_client.zig +++ b/src/http/websocket_http_client.zig @@ -236,6 +236,7 @@ pub fn NewHTTPUpgradeClient(comptime ssl: bool) type { pub const onData = handleData; pub const onWritable = handleWritable; pub const onTimeout = handleTimeout; + pub const onLongTimeout = handleTimeout; pub const onConnectError = handleConnectError; pub const onEnd = handleEnd; pub const onHandshake = handleHandshake; @@ -960,6 +961,7 @@ pub fn NewWebSocketClient(comptime ssl: bool) type { pub const onData = handleData; pub const onWritable = handleWritable; pub const onTimeout = handleTimeout; + pub const onLongTimeout = handleTimeout; pub const onConnectError = handleConnectError; pub const onEnd = handleEnd; pub const onHandshake = handleHandshake;