ghcjs-fetch-0.1.0.0: GHCJS bindings for the JavaScript Fetch API

Copyright(c) Moritz Kiefer 2017
LicenseBSD3
Maintainermoritz.kiefer@purelyfunctional.org
Stabilityexperimental
PortabilityGHCJS
Safe HaskellNone
LanguageHaskell2010

GHCJS.Fetch

Contents

Description

This module provides bindings for JavaScript’s Fetch API.

The bindings deliberately stay close to the JavaScript API so most documentation and tutorials should be easily translatable.

An introduction to the Fetch API can be found at https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch.

Synopsis

Fetch

Request

defaultRequestOptions :: RequestOptions Source #

Default request options. These correspond to the default options specified in the fetch standard.

Response

Exceptions