NodeClient overview
Added in v1.0.0
Table of contents
agent
HttpAgent
Signature
export declare const HttpAgent: Context.Tag<HttpAgent, HttpAgent>
Added in v1.0.0
HttpAgent (interface)
Signature
export interface HttpAgent {
readonly [HttpAgentTypeId]: typeof HttpAgentTypeId
readonly http: Http.Agent
readonly https: Https.Agent
}
Added in v1.0.0
HttpAgentTypeId
Signature
export declare const HttpAgentTypeId: typeof HttpAgentTypeId
Added in v1.0.0
HttpAgentTypeId (type alias)
Signature
export type HttpAgentTypeId = typeof HttpAgentTypeId
Added in v1.0.0
agentLayer
Signature
export declare const agentLayer: Layer.Layer<never, never, HttpAgent>
Added in v1.0.0
makeAgent
Signature
export declare const makeAgent: (options?: Https.AgentOptions) => Effect.Effect<Scope.Scope, never, HttpAgent>
Added in v1.0.0
makeAgentLayer
Signature
export declare const makeAgentLayer: (options?: Https.AgentOptions) => Layer.Layer<never, never, HttpAgent>
Added in v1.0.0
constructors
make
Signature
export declare const make: Effect.Effect<HttpAgent, never, Client.Client.Default>
Added in v1.0.0
layers
layer
Signature
export declare const layer: Layer.Layer<never, never, Client.Client.Default>
Added in v1.0.0
layerWithoutAgent
Signature
export declare const layerWithoutAgent: Layer.Layer<HttpAgent, never, Client.Client.Default>
Added in v1.0.0