You all know that browsers require WebSockets but when doing server to server communication regular TCP sockets are leaner and faster.
With pocket-sockets you can switch the underlying sockets as you need but use the same interface for both TCP and WebSockets.
Small, neat and few dependencies. Written in TypeScript with a bunch of tests to it :)
It also supports SSL/TLS encryption.
Happy SYN/ACK day!
You all know that browsers require WebSockets but when doing server to server communication regular TCP sockets are leaner and faster.
With pocket-sockets you can switch the underlying sockets as you need but use the same interface for both TCP and WebSockets.
Small, neat and few dependencies. Written in TypeScript with a bunch of tests to it :)
It also supports SSL/TLS encryption.
Happy SYN/ACK day!