TypeSafeConfig
Scoped HTTP client customization for TypeSafe requests.
Configuration
withClientTransform
Added in v4.0.0
Source
Transforms the TypeSafe HTTP client for requests made by the supplied effect. Replaces any existing scoped transform; compose them manually to apply both.
Signature
declare const withClientTransform: { (transform: (client: HttpClient) => HttpClient): <A, E, R>(self: Effect<A, E, R>) => Effect<A, E, R>; <A, E, R>(self: Effect<A, E, R>, transform: (client: HttpClient) => HttpClient): Effect<A, E, R>;}Other
TypeSafeConfig
Added in v4.0.0
Source
Types used by the TypeSafeConfig context service.
Services
TypeSafeConfig
Added in v4.0.0
Source
Scoped configuration read when executing TypeSafe requests.
See
- withClientTransform for scoping an HTTP client transformation
Signature
declare class TypeSafeConfig extends Shape<"@effect/ai-typesafe/TypeSafeConfig", Service, this> { constructor(_: never); static readonly getOrUndefined: Effect<Service | undefined>;}