1.0.6 • Published 7 years ago

socket-flus v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

socket-flus

A third repo for socket load test.

Get Start

let options = {
  url: array<string> | string, // the websocket url, like 'http://localhost:3000/chatroom'
  connectionCount: number,     // optional
  durationCount: number,       // optional
  duration: number             // optional, default is 10s
};

let socket_flus = new SocketFlus(options);
socket_flus.connTest().then((report) => {
  console.log(report);
});

socket_flus.messageTest(event, message).then((report) => {
  console.log(report);
});
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago