Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Config

Config: Partial<{ apiUrl: string; httpClientConfig: KyOptions; storageUrl: string }>

Functions

addAllowedStatusCode

  • addAllowedStatusCode(status: number): BeforeRequestHook
  • Parameters

    • status: number

    Returns BeforeRequestHook

appendAsLastBeforeRequest

  • appendAsLastBeforeRequest(hookToSchedule: BeforeRequestHook): BeforeRequestHook
  • Attaches a hook to end of hooks.beforeRequest (incl. after one-off hooks specified in the call to fetch(), e.g. setExpectedStatus)

    Parameters

    • hookToSchedule: BeforeRequestHook

    Returns BeforeRequestHook

dontCloneForAfterResponses

  • dontCloneForAfterResponses(): BeforeRequestHook

Generated using TypeDoc