1.0.0 • Published 7 years ago
connect-ws v1.0.0
connect-ws
Simple websocket connection in browser with retry.
API
createWS
- @parameters
- props: constructor 'WebSocket' may use.
- options.maxInterval: max interval seconds of retry, default is 5.
- @return(object)
createWS.debug
set if print logs.