WebSockex 0.4.1 Released!
Enhancements
-
Allow
:viaand:globaltuples for named registration.-
This includes handling for
cast/2andsend_frame/2.
-
This includes handling for
-
Add access to response headers during
handle_connect/2viaConn.resp_headers. -
Add
Conn.parse_url/1to handle url to URI conversion. -
Allow
Conn.new/2to use a url string instead of aURIstruct. -
Automatically add a “/“ path to a pathless url.
- The HTTP request will break without a valid path!
-
Add
child_specdefinitions for Elixir 1.5+-
Or any version that exports
Supervisor.child_spec/2
-
Or any version that exports
- Some documentation tweaks
Bug Fixes
-
No longer invoke
handle_disconnectif there is reason to exit from invoking a callback. (e.g. an exception was raised) -
Properly handle unexpected SSL socket termination.
- This seems pretty important, but I don’t know…
-
Return a descriptive error when trying to use
send_frame/2in a callback.
Take a look at the v0.4.0…v0.4.1 diff or the release on hex.pm for more information.
Read next Drab 0.7.0 is out!
