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 67714a4 commit efa2beaCopy full SHA for efa2bea
Sources/NIOInstrumentation/HTTPHeadersCarrier.swift
@@ -14,6 +14,11 @@
14
import Instrumentation
15
import NIOHTTP1
16
17
+/// Extracts header values from `NIOHTTP1.HTTPHeaders`.
18
+///
19
+/// If multiple entries exist for a given key, their values will be joined according to
20
+/// [HTTP RFC 7230: Field Order](https://httpwg.org/specs/rfc7230.html#rfc.section.3.2.2), returning a comma-separated list
21
+/// of the values.
22
public struct HTTPHeadersExtractor: ExtractorProtocol {
23
public init() {}
24
@@ -26,6 +31,7 @@ public struct HTTPHeadersExtractor: ExtractorProtocol {
26
31
}
27
32
28
33
34
+/// Injects values into `NIOHTTP1.HTTPHeaders`.
29
35
public struct HTTPHeadersInjector: InjectorProtocol {
30
36
37
0 commit comments