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
-internal final class HTTPBin<RequestHandler: ChannelInboundHandler>: Sendable
+#if compiler(>=6.2)
363
+typealias AHCTestSendableMetatype = SendableMetatype
364
+#else
365
+typealias AHCTestSendableMetatype = Any
366
+#endif
367
+
368
+internal final class HTTPBin<RequestHandler: ChannelInboundHandler & AHCTestSendableMetatype>: Sendable
369
where
370
RequestHandler.InboundIn == HTTPServerRequestPart,
371
RequestHandler.OutboundOut == HTTPServerResponsePart
0 commit comments