Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

assertNever

  • assertNever(x: never): never
  • Convenience function that will help make switch statements exhaustive

    Parameters

    • x: never

    Returns never

configureRequest

  • configureRequest<A>(xhr: XMLHttpRequest, request: Request<A>): void
  • Type parameters

    • A

    Parameters

    • xhr: XMLHttpRequest
    • request: Request<A>

    Returns void

Const handleResponse

ignore404With

  • ignore404With<A>(f: function): (Anonymous function)
  • A function helper that can be chained to an error using orElse so that 404s can be handled as a successful call, if desired.

    Type parameters

    • A

    Parameters

    Returns (Anonymous function)

send

  • send(xhr: XMLHttpRequest, data: any): void
  • Parameters

    • xhr: XMLHttpRequest
    • data: any

    Returns void

toHttpResponseTask

Const toHttpTask

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