Skip to content

Commit e54997e

Browse files
authored
Merge branch 'main' into main
2 parents a74d684 + 4232d34 commit e54997e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebSocketKit/WebSocket.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public final class WebSocket: Sendable {
117117

118118
}
119119

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

0 commit comments

Comments
 (0)