Kysoql
API referenceInterfaces

RestClientOptions

Generated API reference for RestClientOptions in @kysoql/rest.

@kysoql/rest / RestClientOptions

Connection, authentication, and transport options for the Salesforce REST client.

Extends

Properties

PropertyModifierTypeDescriptionInherited from
instanceUrlreadonlystringSalesforce instance origin used for REST requests.-
accessTokenreadonly| string | AccessTokenProviderProvider is called lazily, then again only after INVALID_SESSION_ID.-
apiVersion?readonlystringSalesforce REST API version, for example 65.0; defaults to DEFAULT_API_VERSION.-
fetch?readonly(input, init?) => Promise<Response>Native fetch by default. An injected implementation must honour signal and redirect.HttpOptions.fetch
signal?readonlyAbortSignalCombines with the client's signal; cancelling one operation does not cancel others.HttpOptions.signal
timeoutMs?readonlynumberPer HTTP request, including token acquisition and response body. Default: 30 seconds.HttpOptions.timeoutMs

On this page