Skip to content

Commit

Permalink
Update src/adapters/ws/server.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Méndez <[email protected]>
  • Loading branch information
KhudaDad414 and fmvilas authored Dec 1, 2023
1 parent 56a7959 commit 06438cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/ws/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class WebSocketsAdapter extends Adapter {
this._validateRequestAgainstBindings(request, socket)
}

_validateRequestAgainstBindings(req: IncomingMessage, socket: Duplex) {
private _validateRequestAgainstBindings(req: IncomingMessage, socket: Duplex) {
const channel = this._getChannel(req)
const channelBindings = channel.bindings().get("ws")
if (!channelBindings) return
Expand Down

0 comments on commit 06438cc

Please sign in to comment.