NodeHttpClient15
Dispatcher
DispatcherclassService tag for the Undici Dispatcher used by the Undici-backed HTTP client.dispatcherLayerGlobalconstProvides the Dispatcher service from Undici's process-global dispatcher, without creating or owning a new agent.layerDispatcherconstProvides the Dispatcher service using a scoped Undici Agent.makeDispatcherconstAcquires a new Undici Agent dispatcher and destroys it when the enclosing scope is finalized.Httpagent
HttpAgentclassService tag for the paired Node http and https agents used by the node:http-backed HTTP client.layerAgentconstProvides the HttpAgent service using default scoped Node http and https agents.layerAgentOptionsconstProvides the HttpAgent service using scoped Node http and https agents configured with the supplied options.makeAgentconstAcquires Node http and https agents with the supplied options and destroys both agents when the enclosing scope is finalized.Node:Http
layerNodeHttpconstProvides a node:http-backed HttpClient together with default scoped Node http and https agents.layerNodeHttpNoAgentconstProvides a node:http-backed HttpClient using the current HttpAgent service.makeNodeHttpconstCreates an HttpClient backed by Node http and https, using the current HttpAgent, streaming request bodies, and wrapping Node responses as HttpClientResponse values.Undici
layerUndiciconstProvides an Undici-backed HttpClient together with a scoped default Undici Agent dispatcher.layerUndiciNoDispatcherconstProvides an Undici-backed HttpClient using the current Dispatcher service.makeUndiciconstCreates an HttpClient that sends requests through the current Undici Dispatcher, converts Effect HTTP bodies to Undici bodies, and maps transport and decode failures to HttpClientError.UndiciOptionsconstFiber reference containing default Undici request options applied to requests sent by makeUndici.