mochiweb adapter for cowboy.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 36 commits behind benoitc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
.gitignore
LICENSE
NOTICE
README.md
rebar.config

README.md

mochicow

mochicow is a mochiweb adapter for cowboy.

There are 2 ways to use mochicow:

  • as a cowboy protocol: It will use the socket acceptor pool of cowboy instead of the mochiweb one.
  • as a protocol upgrade. Like websockets you can upgrade a cowboy handler to use a mochiweb loop. It allows you to use both your new code with cowboy and old code with mochiweb.

See the examples in the examples for the usage.