@@ -26,7 +26,7 @@ public struct URLSessionConfiguration {
2626 shouldInstrument: ( ( URLRequest ) -> ( Bool ) ? ) ? = nil ,
2727 nameSpan: ( ( URLRequest ) -> ( String ) ? ) ? = nil ,
2828 shouldInjectTracingHeaders: ( ( inout URLRequest ) -> ( Bool ) ? ) ? = nil ,
29- createdRequest: ( ( URLRequest , SpanBuilder ) -> Void ) ? = nil ,
29+ createdRequest: ( ( URLRequest , Span ) -> Void ) ? = nil ,
3030 receivedResponse: ( ( URLResponse , DataOrFile ? , Span ) -> Void ) ? = nil ,
3131 receivedError: ( ( Error , DataOrFile ? , HTTPStatus , Span ) -> Void ) ? = nil )
3232 {
@@ -58,7 +58,7 @@ public struct URLSessionConfiguration {
5858 public var nameSpan : ( ( URLRequest ) -> ( String ) ? ) ?
5959
6060 /// Called before the span is created, it allows to add extra information to the Span through the builder
61- public var createdRequest : ( ( URLRequest , SpanBuilder ) -> Void ) ?
61+ public var createdRequest : ( ( URLRequest , Span ) -> Void ) ?
6262
6363 /// Called before the span is ended, it allows to add extra information to the Span
6464 public var receivedResponse : ( ( URLResponse , DataOrFile ? , Span ) -> Void ) ?
0 commit comments