chadxz / awry

An Asterisk REST Interface (ARI) websocket and API client library
MIT License
21 stars 9 forks source link

Add reconnect event to ReconnectingWebsocket #106

Closed chadxz closed 1 year ago

chadxz commented 5 years ago

Closes #101.

chadxz commented 5 years ago

@goldiv this is the code change i was describing in #101, but I have not tested it yet. I need to set back up my asterisk VM so i can give it a go in a real world scenario. Also needs tests.

Do you think an API like this would be sufficient for what you need?

codecov[bot] commented 5 years ago

Codecov Report

Merging #106 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #106   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          15     15           
  Lines         387    396    +9     
=====================================
+ Hits          387    396    +9
Impacted Files Coverage Δ
src/events/ReconnectingWebSocket.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 315ef7f...0a548d3. Read the comment docs.