effect-io-ai

Package: @effect/platform-node
Module: NodeHttpClient

NodeHttpClient.makeAgent

Acquires Node http and https agents with the supplied options and destroys both agents when the enclosing scope is finalized.

Signature

declare const makeAgent: (options?: Https.AgentOptions) => Effect.Effect<HttpAgent["Service"], never, Scope.Scope>

Source

Since v4.0.0