Skip to main content
SessionOptions.unknownProtocolTimeout - http2 - Node documentation
property SessionOptions.unknownProtocolTimeout

Usage in Deno

import { type SessionOptions } from "node:http2";

Specifies a timeout in milliseconds that a server should wait when an ['unknownProtocol'][] is emitted. If the socket has not been destroyed by that time the server will destroy it.

Type

number | undefined