@kalm/ws
TypeScript icon, indicating that this package has built-in type declarations

7.0.0 • Public • Published

Kalm
Kalm

The Socket Optimizer


Kalm Build Status Snyk Vulnerabilities for GitHub Repo Financial Contributors on Open Collective Join the chat at https://gitter.im/KALM/home

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

/@kalm/ws/

    Package Sidebar

    Install

    npm i @kalm/ws

    Homepage

    kalm.js.org

    Weekly Downloads

    12

    Version

    7.0.0

    License

    Apache-2.0

    Unpacked Size

    7.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • kalm-admin
    • fed135