Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@types/http-terminator
Advanced tools
TypeScript definitions for http-terminator
npm install --save @types/http-terminator
This package contains type definitions for http-terminator (https://github.com/gajus/http-terminator#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-terminator.
/// <reference types="node" />
import { Server as HttpServer } from "http";
import { Server as HttpsServer } from "https";
/**
* Terminator configuration interface.
*/
export interface HttpTerminatorConfig {
/**
* Number of milliseconds to allow for the active sockets to complete
* serving the response (default: 5000).
*/
gracefulTerminationTimeout?: number | undefined;
/**
* Intsance of http.Server or https.Server.
*/
server: HttpServer | HttpsServer;
}
/**
* Terminator interface.
*/
export interface HttpTerminator {
/**
* Terminates the HTTP server.
*/
terminate(): Promise<void>;
}
/**
* Creates an HttpTerminator.
* @param config Terminator configuration
* @returns The created HttpTerminator.
*/
export function createHttpTerminator(
config: HttpTerminatorConfig,
): HttpTerminator;
These definitions were written by Steve Ripberger.
FAQs
TypeScript definitions for http-terminator
We found that @types/http-terminator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.