Options
All
  • Public
  • Public/Protected
  • All
Menu

A different approach to building a request object. Instead of object literals, we can use this builder object to contruct a request in stages. Modifications are immutable. A new instance of the RequestBuilder is returned in each case.

Type parameters

  • A

Hierarchy

  • RequestBuilder

Index

Constructors

constructor

Properties

Private request

request: Request<A>

Accessors

data

data:

decoder

decoder:

headers

headers:

method

method:

timeout

timeout:

url

url:

withCredentials

withCredentials:

Methods

setWithCredentials

withData

withDecoder

withHeader

withTimeout

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