Patch Changes
-
#2413
4789083
Thanks @tim-smart! - make /platform ClientRequest implement EffectClientRequest now implements
Effect<ClientResponse, HttpClientError, Client.Default | Scope>
This makes it easier to quickly create a request and execute it in a single line.
import * as Http from "@effect/platform/HttpClient"; Http.request .get("https://jsonplaceholder.typicode.com/todos/1") .pipe(Http.response.json);
-
#2413
4789083
Thanks @tim-smart! - prevent unhandled errors in undici http client -
Updated dependencies [
4789083
,4789083
]:- @effect/platform@0.48.20
- @effect/platform-node-shared@0.3.20