Butter 0.0.2
A library that helps 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 WebClient and provides an extensible chain of middleware for making HTTP requests and processing the response. The adoption of the Middleware pattern allows you to seamlessly enhance and modify the behaviour of your HTTP requests. See OAuthMiddleware for an example.

Read more...

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.

afButter.pod (71.65 kB)

Use

To use Butter in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afButter 0.0.2 - 0.0"]

Documentation

Information

Meta information on the Butter pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
71.65 kB
Licence
BSD 2-Clause License
Built on
15th Jan 2014
Source code
at https://bitbucket.org/AlienFactory/afbutter
Depends on
inet, sys, util, web
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 21 releases of Butter: