1.1.4 • Published 7 months ago

@types/sticky-session v1.1.4

Weekly downloads
93
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for sticky-session 1.1
// Project: https://github.com/indutny/sticky-session
// Definitions by: Giovanni Barbaro <https://github.com/vanny96>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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: Fri, 02 Jul 2021 22:32:56 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Giovanni Barbaro.

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

8 months ago

1.1.1

3 years ago

1.1.0

4 years ago