NodeHttpClient
Agent
agentLayer
Added in v1.0.0
Source
Signature
declare const agentLayer: Layer.Layer<HttpAgent>Signature
declare const HttpAgent: Tag<HttpAgent, HttpAgent>Signature
interface HttpAgent { readonly [HttpAgentTypeId]: typeof HttpAgentTypeId; readonly http: Agent; readonly https: Agent;}HttpAgentTypeId
Added in v1.0.0
Source
Signature
declare const HttpAgentTypeId: unique symbolHttpAgentTypeId type
Added in v1.0.0
Source
Signature
type HttpAgentTypeId = typeof HttpAgentTypeIdSignature
declare const makeAgent: (options?: Https.AgentOptions) => Effect.Effect<HttpAgent, never, Scope.Scope>makeAgentLayer
Added in v1.0.0
Source
Signature
declare const makeAgentLayer: (options?: Https.AgentOptions) => Layer.Layer<HttpAgent>Constructors
Signature
declare const make: Effect.Effect<Client.HttpClient, never, HttpAgent>makeUndici
Added in v1.0.0
Source
Signature
declare const makeUndici: (dispatcher: Undici.Dispatcher) => Client.HttpClientLayers
Signature
declare const layer: Layer.Layer<Client.HttpClient>layerUndici
Added in v1.0.0
Source
Signature
declare const layerUndici: Layer.Layer<Client.HttpClient>layerUndiciWithoutDispatcher
Added in v1.0.0
Source
Signature
declare const layerUndiciWithoutDispatcher: Layer.Layer<Client.HttpClient, never, Dispatcher>layerWithoutAgent
Added in v1.0.0
Source
Signature
declare const layerWithoutAgent: Layer.Layer<Client.HttpClient, never, HttpAgent>Undici
Dispatcher
Added in v1.0.0
Source
Signature
declare const Dispatcher: Tag<Dispatcher, Dispatcher>Dispatcher interface
Added in v1.0.0
Source
Signature
interface Dispatcher { readonly _: typeof _;}dispatcherLayer
Added in v1.0.0
Source
Signature
declare const dispatcherLayer: Layer.Layer<Dispatcher>dispatcherLayerGlobal
Added in v1.0.0
Source
Signature
declare const dispatcherLayerGlobal: Layer.Layer<Dispatcher>makeDispatcher
Added in v1.0.0
Source
Signature
declare const makeDispatcher: Effect.Effect<Undici.Dispatcher, never, Scope.Scope>UndiciRequestOptions
Added in v1.0.0
Source
Signature
declare class UndiciRequestOptions extends any { constructor();}