Skip to content

Commit

Permalink
Merge branch 'vapor:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnzhou authored Sep 26, 2024
2 parents e7ee608 + 4232d34 commit 7a72794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebSocketKit/WebSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public final class WebSocket: Sendable {

}

public func send(_ binary: [UInt8], promise: EventLoopPromise<Void>? = nil) {
public func send(_ binary: some DataProtocol, promise: EventLoopPromise<Void>? = nil) {
self.send(raw: binary, opcode: .binary, fin: true, promise: promise)
}

Expand Down

0 comments on commit 7a72794

Please sign in to comment.