wsock
wsock copied to clipboard
Erlang library to build WebSocket clients and servers
I was wondering if anything from the spec is supported. Is anything missing? I'm tempted to use your lib as a replacement to what cowboy offer in a websocket only...
_build/default/lib/wsock/src/wsock_handshake.erl:59: Warning: crypto:sha/1 is deprecated and will be removed in a future release; use crypto:hash/2 _build/default/lib/wsock/src/wsock_handshake.erl:163: Warning: crypto:sha/1 is deprecated and will be removed in a future release; use crypto:hash/2...
crypto:rand_bytes(4) in wsock_framing:apply_options/2 could be a bottleneck if you have a high load because it contains some kind of rwlocks inside most threads on my server wait for this lock,...
Add a new function open/4, which is open/3 with a forth parameter, which becomes an additional header - Cookie. Assume this authentication cookie was obtained in a previous step using...