[erlang-questions] [ANN] mochicow 0.1

Benoit Chesneau <>
Fri Jun 8 18:56:22 CEST 2012


Hi all,

I just released the version 1 of mochicow, a mochiweb adapter for
cowboy. Use your mochiweb code d with 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.

The source is on github:

https://github.com/benoitc/mochicow

Enjoy :)

- benoît



More information about the erlang-questions mailing list