Interface RequestOptions

Allows to define extra fields if necessary.

Hierarchy

  • RequestInit
    • RequestOptions

Index

Properties

Optional body

body: any

Optional cache

cache: RequestCache

Optional credentials

credentials: RequestCredentials

Optional headers

headers: any

Optional integrity

integrity: undefined | string

Optional keepalive

keepalive: undefined | true | false

Optional method

method: undefined | string

Optional mode

mode: RequestMode

Optional query

query: any

Optional redirect

redirect: RequestRedirect

Optional referrer

referrer: undefined | string

Optional referrerPolicy

referrerPolicy: ReferrerPolicy

Optional vendorHeader

vendorHeader: undefined | string

Overrides content-type and accept headers

Optional window

window: any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • 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