Skip to content

Commit 2469343

Browse files
Add comments for usage details
1 parent 05d14ec commit 2469343

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/splitio.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,9 @@ declare namespace SplitIO {
11401140
requestOptions?: {
11411141
/**
11421142
* Custom function called before each request, allowing you to add or update custom headers on the SDK HTTP requests.
1143+
* Some headers are required by the SDK, like 'SplitSDKVersion', and cannot be overridden.
1144+
* To pass multiple headers with the same name, you can combine them into a single line separated by commas.
1145+
* Example: `{ 'Authorization': 'value1, value2' }`.
11431146
*
11441147
* @property getHeaderOverrides
11451148
* @default undefined
@@ -1198,6 +1201,9 @@ declare namespace SplitIO {
11981201
requestOptions?: {
11991202
/**
12001203
* Custom function called before each request, allowing you to add or update custom headers on the SDK HTTP requests.
1204+
* Some headers are required by the SDK, like 'SplitSDKVersion', and cannot be overridden.
1205+
* To pass multiple headers with the same name, you can combine them into a single line separated by commas.
1206+
* Example: `{ 'Authorization': 'value1, value2' }`.
12011207
*
12021208
* @property getHeaderOverrides
12031209
* @default undefined

0 commit comments

Comments
 (0)