Passing through customHeaders to requestInit
This commit is contained in:
parent
5a31434b62
commit
0e0849228d
1 changed files with 27 additions and 15 deletions
|
|
@ -16,6 +16,8 @@ export type UseMcpOptions = {
|
|||
name?: string;
|
||||
version?: string;
|
||||
};
|
||||
/** Custom headers that can be used to bypass auth */
|
||||
customHeaders?: Record<string, string>;
|
||||
/** Whether to enable verbose debug logging to the console and the log state */
|
||||
debug?: boolean;
|
||||
/** Auto retry connection if initial connection fails, with delay in ms (default: false) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue