Skip to content

Releases: sanmiguel/websocket_client

1.1.0

11 Sep 17:42
Compare
Choose a tag to compare

Changes since 1.0.1:

  • 1.0.2:
    • #30 FEATURE Replace erlang.mk with rebar3
    • #31 BUGFIX Don't try to send a frame if the socket is undefined (duh)
  • 1.0.3:
    • #32 FEATURE Allow passing options to the underlying socket with {socket_opts, SOpts} option for websocket_client:start_link/3,4
  • 1.0.4:
    • #35 BUGFIX Prevent crash (allowing clean reconnect) if send_handshake fails
  • 1.1.0:
    • #34 FEATURE Add #websocket_req.keepalive_max_attempts parameter to request, to allow setting the number of keepalive messages sent without receipt of any data from the server before declaring the connection broken and disconnecting cleanly

1.0.1

30 Jul 14:07
Compare
Choose a tag to compare

Changes since 1.0.0:

  • Bugfix: a race condition in the way buffered frames were handled could lead to frames being handled out-of-order or, worse, the client ceasing processing and simply buffering every frame from then on. (#29)

1.0.0

30 Jul 14:05
Compare
Choose a tag to compare

Changes since 0.8.4:

  • Add {ssl_verify, verify_none | verify_peer | {verify_fun, _}} option for websocket_client:start_link/4
  • A little spit 'n' polish in comments/docs

Since forking, the websocket_client has been rewritten to be FSM-backed, and the behaviour extended to include onconnect/2 and ondisconnect/2 callbacks. It also handles configurable reconnection on comms loss, periodic pinging of the server as well as automatic responding to pings from the server.

See the README for full details and examples/ for sample handlers.