1.0.6 • Published 6 years ago

socket-flus v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago