UNPKG
naruyaizumi
Version:
latest (26.1.1)
26.1.1
26.1.0
26.0.22
26.0.21
26.0.20
26.0.19
26.0.18
26.0.17
26.0.16
26.0.15
26.0.14
26.0.13
26.0.12
26.0.11
26.0.10
26.0.9
26.0.8
26.0.4
26.0.3
26.0.2
26.0.1
26.0.0
25.9.1
25.9.0
25.8.1
25.7.9
25.7.8
25.7.7
25.7.5
25.5.7
25.5.5
A WebSockets library for interacting with WhatsApp Web
github.com/naruyaizumi
naruyaizumi
/
lib
/
Socket
/
Client
/
types.js
12 lines
(11 loc)
•
300 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
EventEmitter
}
from
"events"
;
import
{
URL
}
from
"url"
;
export
class
AbstractSocketClient
extends
EventEmitter
{
constructor
(
url, config
) {
super
();
this
.
url
= url;
this
.
config
= config;
this
.
setMaxListeners
(
0
); } }
//# sourceMappingURL=types.js.map