tink_http_fetch 0.2.0

A fetch-like API based on tink_http

Released 2017-03-07.

To install, run:

haxelib install tink_http_fetch 0.2.0

See using Haxelib in Haxelib documentation for more information.

Maintainerkevinresol
Website
Current version0.2.0
StatisticsInstalled 6 times
LicenseMIT
Tags

README.md

tink_http_fetch

A fetch-like API based on tink_http

The API is very simple:

class Fetch {
	public static function fetch(url:Url, ?options:FetchOptions):Future<IncomingResponse>;
}

typedef FetchOptions = {
	?method:Method,
	?headers:Array<HeaderField>,
	?body:IdealSource,
}