effect-io-ai

Package: @effect/platform
Module: HttpClient

HttpClient.withCookiesRef

Associates a Ref of cookies with the client for handling cookies across requests.

Signature

declare const withCookiesRef: { (ref: Ref<Cookies>): <E, R>(self: HttpClient.With<E, R>) => HttpClient.With<E, R>; <E, R>(self: HttpClient.With<E, R>, ref: Ref<Cookies>): HttpClient.With<E, R>; }

Source

Since v1.0.0