File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public struct WebSocketCloseFrame: Sendable {
106
106
configuration: Configuration ,
107
107
asyncChannel: NIOAsyncChannel < WebSocketFrame , WebSocketFrame > ,
108
108
context: Context ,
109
- handler: @escaping WebSocketDataHandler < Context >
109
+ handler: WebSocketDataHandler < Context >
110
110
) async throws -> WebSocketCloseFrame ? {
111
111
defer {
112
112
context. logger. debug ( " Closed WebSocket " )
@@ -145,7 +145,7 @@ public struct WebSocketCloseFrame: Sendable {
145
145
type: WebSocketType ,
146
146
inbound: NIOAsyncChannelInboundStream < WebSocketFrame > ,
147
147
outbound: NIOAsyncChannelOutboundWriter < WebSocketFrame > ,
148
- handler: @escaping WebSocketDataHandler < Context > ,
148
+ handler: WebSocketDataHandler < Context > ,
149
149
context: Context
150
150
) async throws -> WebSocketCloseFrame ? {
151
151
try await withGracefulShutdownHandler {
You can’t perform that action at this time.
0 commit comments