diff --git a/Sources/Hummingbird/Server/RequestContext.swift b/Sources/Hummingbird/Server/RequestContext.swift index a64bf98a8..8d3f9b33b 100644 --- a/Sources/Hummingbird/Server/RequestContext.swift +++ b/Sources/Hummingbird/Server/RequestContext.swift @@ -67,9 +67,9 @@ public protocol HBRequestContext: Sendable { extension HBRequestContext { /// default service context - var serviceContext: ServiceContext { .topLevel } + public var serviceContext: ServiceContext { .topLevel } /// Request ID, extracted from Logger - var id: String { self.logger[metadataKey: "hb_id"]!.description } + public var id: String { self.logger[metadataKey: "hb_id"]!.description } } /// Protocol for request context that stores the remote address of connected client