Skip to main content
Agent.prototype.maxSockets - http - Node documentation
property Agent.prototype.maxSockets

Usage in Deno

import { Agent } from "node:http";

By default set to Infinity. Determines how many concurrent sockets the agent can have open per origin. Origin is the returned value of agent.getName().

Type

number
Back to top