Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
mochiweb adapter for cowboy.
branch: master

This branch is 23 commits behind benoitc:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

Something went wrong with that request. Please try again.