[erlang-questions] possible to use cowboy with websockets in current master?

Loïc Hoguin <>
Wed Jan 23 01:17:16 CET 2013


They work. Did you rebar get-deps compile as indicated by the readme, 
before running ./start.sh?

On 01/23/2013 01:07 AM, Alex Babkin wrote:
> Thanks
>
> BTW, do any of the example work currently? I tried hello_world,
> rest_hello_world and static and none of them work
> looks like ranch and crypto aren't being started, but even if i start
> them manually before starting the example apps, it errors out
>
> if indeed it's not just me and examples don't work, is there an example
> anywhere of a working app (with latest master cowboy), preferably
> websocket and static resource serving?
> (i looked at the testsuite but it's a bit hard to figure things out there)
>
> Cheers
>
>
> On Tue, Jan 22, 2013 at 6:08 PM, Loïc Hoguin <
> <mailto:>> wrote:
>
>     On 01/23/2013 12:00 AM, Alex Babkin wrote:
>
>         Hi
>
>         Anyone knows if the websockets are functional in the current cowboy
>         master? I used 0.6 branch but would like to upgrade asap to ensure
>         compatibility with upcoming 0.8. Any examples of the new
>         interface usage?
>         (doesn't look like examples/ contains anything websocket specific)
>
>
>     Websocket interface didn't change. Websocket was only made 100%
>     compliant.
>
>     List of changes from a couple months ago is here:
>
>     https://github.com/extend/__cowboy/blob/master/CHANGELOG.__md
>     <https://github.com/extend/cowboy/blob/master/CHANGELOG.md>
>
>     There's more, it'll be updated after routing changes are done.
>     Otherwise you might want to check the guide:
>
>     https://github.com/extend/__cowboy/tree/master/guide
>     <https://github.com/extend/cowboy/tree/master/guide>
>
>     And if something isn't in there, or is unclear, please open a
>     ticket! Thanks.
>
>     --
>     Loďc Hoguin
>     Erlang Cowboy
>     Nine Nines
>     http://ninenines.eu
>
>


-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list