Optional
auth?: stringThe API Key to use for authentication. Not needed if using cookies.
Optional
cookies?: RequestCookies[]Optionally pass in an explicit jwt cookie
Optional
fetch?: { A custom fetch implementation. Defaults to the global fetch.
Optional
init: RequestInitOptional
init: RequestInitOptional
host?: stringThe host address without the protocol. Defaults to graphql.app.tokens.studio
Optional
secure?: booleanWhether to use a secure connection. Defaults to true.
Optional
web
Creates an instance of the SDK Client
The webSocketImpl parameter is used to inject a custom WebSocket implementation. This is useful for testing purposes, and handling isomorphic environments.