Skip to content

purerl/purescript-erl-cowboy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

purescript-erl-cowboy

Bindings to the cowboy web server. Bindings tested at version 2.4.

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.