Package

erl-cowboy

Repository
purerl/purescript-erl-cowboy
Uploaded by
nwolverson

Bindings to the cowboy web server. Bindings currently tested against version 2.8, but other versions may be used subject to underlying cowboy API compatibility.

Usage

Firstly this package contains bindings to cowboy, it must be used in an OTP application where cowboy is installed at a suitable version.

To construct a working cowboy application, the definitions in Erl.Cowboy can be used with routing defined in Erl.Cowboy.Routes, and one of the handlers defind in submodules of Erl.Cowboy.Handlers. Core request processing is handled in Erl.Cowboy.Req.

Examples can be found in the pscowboytest test project.

Modules
Attribute
Cowboy.Static
Erl.Cowboy
Erl.Cowboy.Handler
Erl.Cowboy.Handlers.Common
Erl.Cowboy.Handlers.Loop
Erl.Cowboy.Handlers.Rest
Erl.Cowboy.Handlers.Simple
Erl.Cowboy.Handlers.WebSocket
Erl.Cowboy.Req
Erl.Cowboy.Req.Monad
Erl.Cowboy.Routes
Dependencies