Butter 1.2.0Helps ease HTTP requests through a stack of middleware
Butter is a library that helps ease HTTP requests through a stack of middleware.
Butter is a replacement for web::WebClient providing an extensible chain of middleware for making repeated HTTP requests and processing the responses. The adoption of the Middleware pattern allows you to seamlessly enhance and modify the behaviour of your HTTP requests.
Butter was inspired by Ruby's Faraday library.
Install
To install Butter with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Butter with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Butter in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afButter 1.2.0 - 1.2"]
Documentation
Information
Meta information on the Butter pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 99.62 kB
- Licence
- ISC Licence (ISC)
- Built on
- 11th Apr 2016
- Source code
- via Mercurial at https://bitbucket.org/AlienFactory/afbutter
- Depends on
- inet, sys, util, web
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 21 releases of Butter: