How to use the CONNECTING function from sockjs-client

Find comprehensive JavaScript sockjs-client.CONNECTING code examples handpicked from public code repositorys.

776
777
778
779
780
781
782
783
784
785
if (arguments.length < 1) {
  throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");
}
EventTarget.call(this);

this.readyState = SockJS.CONNECTING;
this.extensions = '';
this.protocol = '';

// non-standard extension
fork icon0
star icon0
watch icon3