Skip to content

Commit

Permalink
refactor(exports.zig): Fix WebSocketHTTPSClient var name (oven-sh#598)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Russell <[email protected]>
  • Loading branch information
ryanrussell authored Jul 12, 2022
1 parent a6ab6e2 commit 4987067
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bun.js/bindings/exports.zig
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ pub const JSHTTPResponseSink = JSC.WebCore.HTTPResponseSink.JSSink;

// WebSocket
pub const WebSocketHTTPClient = @import("../../http/websocket_http_client.zig").WebSocketHTTPClient;
pub const WebSocketHTTSPClient = @import("../../http/websocket_http_client.zig").WebSocketHTTPSClient;
pub const WebSocketHTTPSClient = @import("../../http/websocket_http_client.zig").WebSocketHTTPSClient;
pub const WebSocketClient = @import("../../http/websocket_http_client.zig").WebSocketClient;
pub const WebSocketClientTLS = @import("../../http/websocket_http_client.zig").WebSocketClientTLS;

Expand Down Expand Up @@ -2177,7 +2177,7 @@ pub const ZigConsoleClient = struct {
defer this.globalThis = prevGlobalThis;
this.globalThis = globalThis;

// This looks incredibly redudant. We make the ZigConsoleClient.Formatter.Tag a
// This looks incredibly redundant. We make the ZigConsoleClient.Formatter.Tag a
// comptime var so we have to repeat it here. The rationale there is
// it _should_ limit the stack usage because each version of the
// function will be relatively small
Expand Down Expand Up @@ -2527,7 +2527,7 @@ pub const HTTPDebugSSLServerRequestContext = JSC.API.DebugSSLServer.RequestConte
comptime {
if (!is_bindgen) {
WebSocketHTTPClient.shim.ref();
WebSocketHTTSPClient.shim.ref();
WebSocketHTTPSClient.shim.ref();
WebSocketClient.shim.ref();
WebSocketClientTLS.shim.ref();

Expand Down

0 comments on commit 4987067

Please sign in to comment.