Module @fuman/net

fuman

fuman (jp. 不満) - dissatisfaction; discontent; displeasure; complaint; unhappiness

this repository is a collection of packages that were made because any existing packages did not meet my requirements or otherwise sucked. basically a collection of utilities for my own use, though feel free to use, contribute and leave feedback if you find them any useful :>

Warning

everything in this repo is very much a wip and is not really ready for public use

good luck. api reference

Namespaces

ip

Classes

ConnectionClosedError
FakeConnection
HttpProxyConnectionError
ListenerClosedError
PersistentConnection
SocksProxyConnectionError
WebSocketConnection
WebSocketConnectionClosedError
WebSocketConnectionFramed

Interfaces

HttpProxySettings
IConnection
IListener
Ipv4Address
Ipv6Address
ITcpConnection
ITlsConnection
SocksProxySettings
TcpEndpoint
TlsConnectOptions
TlsListenOptions
TlsOptions
WebSocketConstructor
WebSocketEndpoint

Type Aliases

ConnectFunction
IpAddress
ListenFunction
OnErrorAction
ReconnectionStrategy
TlsUpgradeFunction

Functions

connectWs
connectWsFramed
defaultReconnectionStrategy
performHttpProxyHandshake
performSocksHandshake
withHttpProxy
withSocksProxy