@types/sticky-session
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

npm install --save @types/sticky-session

Summary

This package contains type definitions for sticky-session (https://github.com/indutny/sticky-session).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sticky-session.

index.d.ts

/// <reference types="node" />

import { Server } from "http";

/**
 * Method to create the sticky session
 * @param server Server used to create the session
 * @param port Port where the app will be listening at
 * @param options Options to customize the sticky session
 */
export function listen(
    server: Server,
    port?: number,
    options?: {
        readonly workers?: number | undefined;
        readonly env?: any;
    },
): boolean;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Giovanni Barbaro.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sticky-session

Weekly Downloads

203

Version

1.1.4

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types