Skip to content

Commit 3eeb8b3

Browse files
ivolivol
authored andcommitted
docs: clarify sessionConfig usage in REFERENCE.md signRequest section
1 parent cdb938a commit 3eeb8b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ Note: This method performs a synchronous Approov token fetch and may block brief
388388
let protectedRequest = try ApproovService.signRequest(originalRequest)
389389
```
390390

391-
An optional `URLSessionConfiguration` can be provided to include additional session-level headers:
391+
An optional `URLSessionConfiguration` can be provided so `signRequest` can consider any session-level `httpAdditionalHeaders` for token binding and header substitution lookups (these headers are not added to the returned request):
392392

393393
```swift
394394
let protectedRequest = try ApproovService.signRequest(originalRequest, sessionConfig: session.configuration)

0 commit comments

Comments
 (0)