Total Pageviews

Monday 26 December 2016

jaspervdj-websockets

 A Haskell library for creating WebSocket-capable servers

搭建如下:
git clone https://github.com/jaspervdj/websockets jaspervdj-websockets
cd jaspervdj-websockets
stack build
会显示:
...
Installing library in
/root/jaspervdj-websockets/.stack-work/install/i386-linux/lts-6.8/7.10.3/lib/i386-linux-ghc-7.10.3/websockets-0.10.0.0-BLdU1grDKY6BhJ8xFgkdsA
Registering websockets-0.10.0.0...
Completed 2 action(s).
root@AR:~/jaspervdj-websockets# ls .stack-work/install/i386-linux/lts-6.8/7.10.3/lib/i386-linux-ghc-7.10.3/websockets-0.10.0.0-BLdU1grDKY6BhJ8xFgkdsA
libHSwebsockets-0.10.0.0-BLdU1grDKY6BhJ8xFgkdsA.a          Network
libHSwebsockets-0.10.0.0-BLdU1grDKY6BhJ8xFgkdsA-ghc7.10.3.so
root@AR:~/jaspervdj-websockets#

源码地址:https://github.com/jaspervdj/websockets