@kalm/ws
v7.0.0
Published
WebSocket transport for Kalm
Downloads
20
Readme
Installing
npm install @kalm/ws
Options
{
/** The certificate file content for a secure socket connection, both this and `key` must be set */
cert?: string
/** The key file content for a secure socket connection, both this and `cert` must be set */
key?: string
/** A custom agent for the http connection, can be used to set proxies or other connection behaviours */
agent?: any
/** The maximum idle time for the connection before it hangs up (default: 30000) */
socketTimeout: number
}
For more info, refer to the Kalm Homepage
Contribute
If you think of something that you want, open an issue or file a pull request, we'll be more than happy to take a look!
License
Apache 2.0 (c) 2023 Frederic Charette