Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/core/request/interface

Index

Type aliases

CacheStrategy: "queue" | "forever" | "never" | default | Promise<default>
CacheType: "memory" | "offline"
Decoders: Iterable<Decoder>
Encoders: Iterable<Encoder>
Middlewares<D>: Dictionary<Middleware<D>> | Iterable<Middleware<D>>

Type parameters

  • D = unknown

NormalizedCreateRequestOptions<D>: typeof defaultRequestOpts & WrappedCreateRequestOptions<D>

Type parameters

  • D = unknown

NormalizedRequestBody: Exclude<RequestBody, number | boolean | Dictionary>
OkStatuses: default<number> | StatusCodes | StatusCodes[]
RequestAPIValue<T>: Nullable<T> | (() => Nullable<T>)

Type parameters

  • T = string

RequestBody: string | number | boolean | Dictionary | FormData | ArrayBuffer | Blob
RequestMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "CONNECT" | "OPTIONS" | "TRACE"
RequestQuery: Dictionary | unknown[] | string
RequestResponse<D>: default<RequestResponseObject<D>>

Type parameters

  • D = unknown

ResolverResult: CanUndef<CanArray<string>>
StreamDecoders: Iterable<StreamDecoder>
WrappedDecoders: Iterable<WrappedDecoder>
WrappedEncoders: Iterable<WrappedEncoder>
WrappedStreamDecoders: Iterable<WrappedStreamDecoder>