@@ -25,7 +25,6 @@ public import HTTPTypes
2525/// ```
2626@available ( macOS 26 . 0 , iOS 26 . 0 , watchOS 26 . 0 , tvOS 26 . 0 , visionOS 26 . 0 , * )
2727public struct HTTPServerClosureRequestHandler <
28- RequestContext: HTTPRequestContext ,
2928 ConcludingRequestReader: ConcludingAsyncReader < RequestReader , HTTPFields ? > & ~ Copyable,
3029 RequestReader: AsyncReader < Span < UInt8 > , any Error > & ~ Copyable,
3130 ConcludingResponseWriter: ConcludingAsyncWriter < RequestWriter , HTTPFields ? > & ~ Copyable,
@@ -35,7 +34,7 @@ public struct HTTPServerClosureRequestHandler<
3534 private let _handler :
3635 nonisolated( nonsending ) @Sendable (
3736 HTTPRequest ,
38- RequestContext ,
37+ HTTPRequestContext ,
3938 consuming ConcludingRequestReader ,
4039 consuming HTTPResponseSender < ConcludingResponseWriter >
4140 ) async throws -> Void
@@ -47,7 +46,7 @@ public struct HTTPServerClosureRequestHandler<
4746 public init (
4847 handler: nonisolated( nonsending ) @Sendable @escaping (
4948 HTTPRequest ,
50- RequestContext ,
49+ HTTPRequestContext ,
5150 consuming ConcludingRequestReader ,
5251 consuming HTTPResponseSender < ConcludingResponseWriter >
5352 ) async throws -> Void
@@ -61,12 +60,12 @@ public struct HTTPServerClosureRequestHandler<
6160 ///
6261 /// - Parameters:
6362 /// - request: The HTTP request headers and metadata.
64- /// - requestContext: The request's context .
63+ /// - requestContext: A ``HTTPRequestContext`` .
6564 /// - requestBodyAndTrailers: A reader for accessing the request body data and trailing headers.
6665 /// - responseSender: An ``HTTPResponseSender`` to send the HTTP response.
6766 public func handle(
6867 request: HTTPRequest ,
69- requestContext: RequestContext ,
68+ requestContext: HTTPRequestContext ,
7069 requestBodyAndTrailers: consuming ConcludingRequestReader ,
7170 responseSender: consuming HTTPResponseSender < ConcludingResponseWriter >
7271 ) async throws {
0 commit comments