Skip to content

Commit

Permalink
Add onLongTimeout callback for WebSocket (#8323)
Browse files Browse the repository at this point in the history
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
  • Loading branch information
Jarred-Sumner and Jarred-Sumner authored Jan 21, 2024
1 parent b1273e5 commit 43107f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/http/websocket_http_client.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 43107f4

Please sign in to comment.