We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce87cb commit efb14feCopy full SHA for efb14fe
Tests/AsyncHTTPClientTests/HTTPClientTestUtils.swift
@@ -359,7 +359,13 @@ enum TestTLS{
359
)
360
}
361
362
-internalfinalclassHTTPBin<RequestHandler:ChannelInboundHandler>:Sendable
+#if compiler(>=6.2)
363
+typealiasAHCTestSendableMetatype=SendableMetatype
364
+#else
365
+typealiasAHCTestSendableMetatype=Any
366
+#endif
367
+
368
+internalfinalclassHTTPBin<RequestHandler:ChannelInboundHandler&AHCTestSendableMetatype>:Sendable
369
where
370
RequestHandler.InboundIn ==HTTPServerRequestPart,
371
RequestHandler.OutboundOut ==HTTPServerResponsePart
0 commit comments