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 07c6c57 commit 552286bCopy full SHA for 552286b
Sources/AsyncHTTPClient/AsyncAwait/HTTPClient+execute.swift
@@ -46,25 +46,6 @@ extension HTTPClient {
46
)
47
}
48
49
-
50
- @inlinable
51
- func withRequestSpan<ReturnType>(
52
- _ request: HTTPClientRequest,
53
- _ body: () async throws -> ReturnType
54
- ) async rethrows -> ReturnType {
55
- #if TracingSupport
56
- if let tracer = self.tracer {
57
- return try await tracer.withSpan("\(request.method)") { span in
58
- let attr = self.configuration.tracing.attributeKeys
59
- span.attributes[attr.requestMethod] = request.method.rawValue
60
- // Set more attributes on the span
61
- return try await body()
62
- }
63
64
- #endif
65
66
67
68
69
70
// MARK: Connivence methods
0 commit comments