purerl / purescript-erl-cowboy

Bindings to Cowboy server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

purescript-erl-cowboy

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.

About

Bindings to Cowboy server

License:MIT License


Languages

Language:PureScript 71.4%Language:Erlang 18.1%Language:Dhall 10.2%Language:Makefile 0.3%