Skip to content

Commit 7a72794

Browse files
authored
Merge branch 'vapor:main' into main
2 parents e7ee608 + 4232d34 commit 7a72794

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
@@ -122,7 +122,7 @@ public final class WebSocket: Sendable {
122122

123123
}
124124

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

0 commit comments

Comments
 (0)