Skip to main content
globalAgent - http - Node documentation
variable globalAgent

Usage in Deno

import { globalAgent } from "node:http";

Global instance of Agent which is used as the default for all HTTP client requests. Diverges from a default Agent configuration by having keepAlive enabled and a timeout of 5 seconds.

Type