ezwebframe
ezwebframe copied to clipboard
websockets framework toghter with cowboy as described in book
33 cowboy:start_http(ezwebframe, 34 NumberOfAcceptors, 35 [{port, Port}], 36 [{env, [{dispatch, Dispatch}]}]), the cowboy not exists this function any more now....
Mac OSX 10.10.5: ``` ../ezwebframe-master$ gmake ... .... Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] a simple_demo of websockets.... Load the page http://localhost:1456/ in your browser Starting:{ok,"/Users/7stud/erlang_programs/ezwebframe/ezwebframe-master/demos"} Eshell...
I understand the explanations in the book, but am having difficulty understanding the code in ezwebframe.erl. One problem is the seemingly inconsistency between some of the 'cowboy'-related function calls in...
All of the demos fail on my laptop, probably for the same reason. Here's the error that comes up in the console: WebSocket connection to 'ws://localhost:1456/websocket/clock1' failed: Error during WebSocket...
I just forked the repo and using rebar I tried to build and run it. Turns out that there's currently a new dependency on cowboy called cowlib. This means your...
The commit's are a bit of a mess (a rebase gone haywire) but I think the changes are good. I was testing this for my own site (not running there...
In current response "\n" has no influence and all text is in one line. Changing "\n" to "<br>" fixes that problem
Upd make
added make clean to Makefile added make clean instruction to README.md updated paths to javascript deleted duplicate jquery-1.7.1.min.js
Continuing from my previous bug posting a few minutes ago. I also think you need to add application:start(cowlib) in src/ezwebframe.erl. It's a dependency to cowboy and needs to be running....