Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RequestInitGenerator

Index

Constructors

constructor

Properties

baseHeaders

baseHeaders: {}

Type declaration

  • [k: string]: string

credentials

credentials: "include" | "same-origin" | "omit" | undefined

csrfFieldName

csrfFieldName: string

mode

mode: "same-origin" | "navigate" | "no-cors" | "cors" | undefined

xRequestedWith

xRequestedWith: string

Methods

authenticityHeader

  • authenticityHeader(options?: {}): Record<string, string>

generate

  • generate(method?: string, accept?: string, body?: BodyInit | null): RequestInit

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc