Skip to main content
Server.prototype.timeout - node__http.d.ts - Node documentation
property Server.prototype.timeout

Usage in Deno

```typescript import { Server } from "node:node__http.d.ts"; ```
The number of milliseconds of inactivity before a socket is presumed to have timed out. A value of `0` will disable the timeout behavior on incoming connections. The socket timeout logic is set up on connection, so changing this value only affects new connections to the server, not any existing connections.

Type

number