Skip to main content

ICotomyApiOptions

Options for configuring CotomyApi request behavior. All fields are optional.

Properties

PropertyTypeDescription
baseUrlstringBase URL used for relative paths.
headersRecord<string, string>Default request headers.
credentialsRequestCredentialsFetch credentials mode.
redirectRequestRedirectFetch redirect behavior.
cacheRequestCacheFetch cache behavior.
referrerPolicyReferrerPolicyFetch referrer policy.
modeRequestModeFetch mode (CORS, no-cors, etc.).
keepalivebooleanWhether to keep the request alive on page unload.
integritystringSubresource integrity value.