From 0e5f7ff36438be714101764e7f01174772397c6a Mon Sep 17 00:00:00 2001 From: Batuhan Saka Date: Fri, 20 Dec 2024 10:07:18 +0100 Subject: [PATCH] update Instrumentation/URLSession/README.md --- Sources/Instrumentation/URLSession/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Instrumentation/URLSession/README.md b/Sources/Instrumentation/URLSession/README.md index 2c3cf913..7bca6998 100644 --- a/Sources/Instrumentation/URLSession/README.md +++ b/Sources/Instrumentation/URLSession/README.md @@ -28,5 +28,5 @@ This behaviour can be modified or augmented by using the optional callbacks defi `receivedError: ((Error, DataOrFile?, HTTPStatus, Span) -> Void)?` - Called after an error is received, it allows to add extra information to the Span -`baggageProvider: ((URLRequest, Span) -> (Baggage)?)?`: Provides baggage instance for instrumented requests that is merged with active baggage. The callback receives URLRequest and Span parameters to create dynamic baggage based on request context. The resulting baggage is injected into request headers using the configured propagator. +`baggageProvider: ((inout URLRequest, Span) -> (Baggage)?)?`: Provides baggage instance for instrumented requests that is merged with active baggage. The callback receives URLRequest and Span parameters to create dynamic baggage based on request context. The resulting baggage is injected into request headers using the configured propagator.