effect-io-ai

Package: @effect/platform-node
Module: NodeHttpClient

NodeHttpClient.makeUndici

Creates 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.

Signature

declare const makeUndici: Effect.Effect<Client.HttpClient, never, Dispatcher>

Source

Since v4.0.0