WebSpell v0.1.1 API Reference

Modules

For a tutorial on how to use WebSpell, see the README on Github

Represents a request consisting of the HTTP method and the URL (more to come). Pass Request structs to the functions in the WebSpell module

Represents a request stub, consisting of a Request and a Response

Represents a response to a stubbed request, consisting of the HTTP status and the body. Pass Response structs to the functions in the WebSpell module