Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 545cfd56e2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 53 lines (33 sloc) 1.307 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
HTTP::Easy
-----------

Perl 6 libraries to make HTTP servers easily.

This was inspired by HTTP::Server::Simple, but has a very different internal
API, and extended functionality. It's been designed to work well with my
own WWW::App and SCGI libraries. Also see my HTTP::Client library if you
are looking for an HTTP client rather than an HTTP server.

= HTTP::Easy =

A role to build custom HTTP servers.
Provides the framework for parsing HTTP connections.
The classes implementing this must provide the rest, and send the appropriate
output (in HTTP compliant ways.)

= HTTP::Easy::PSGI =

A class implementing HTTP::Easy. This builds a PSGI environment, and passes
it onto a handler. The handler must return a PSGI response
(e.g.: [ $status, @headers, @body ] )

This can be used as an engine in the WWW::App library.

= HTTP::Easy::SCGI =

 ** Not implemented yet, see TODO **

A class implementing HTTP::Easy. This connects to an SCGI daemon.
It will receive the reply from the SCGI daemon, and parse it accordingly
(it automatically detects if NPH output was returned.)

= Examples =

See the examples in the 'examples/' folder.

= Requirements =

 * Rakudo Perl 6
 * HTTP::Status

= Author =

Timothy Totten
http://huri.net/
http://github.com/supernovus/

= License =

Artistic License 2.0

Something went wrong with that request. Please try again.