Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim authored Mar 20, 2024
2 parents a74d684 + 4232d34 commit e54997e
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 @@ -117,7 +117,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 e54997e

Please sign in to comment.