Minor Changes
-
#2669
9deab0a
Thanks @tim-smart! - move http search params apis to ServerRequest moduleIf you want to access the search params for a request, you can now use the
Http.request.ParsedSearchParams
tag.import * as Http from "@effect/platform/HttpServer"; import { Effect } from "effect"; Effect.gen(function* () { const searchParams = yield* Http.request.ParsedSearchParams; console.log(searchParams); });
The schema method has also been moved to the
ServerRequest
module. It is now available asHttp.request.schemaSearchParams
.
Patch Changes
-
#2672
7719b8a
Thanks @tim-smart! - allow http client trace propagation to be controlledTo disable trace propagation:
import { HttpClient as Http } from "@effect/platform"; Http.request .get("https://example.com") .pipe(Http.client.fetchOk, Http.client.withTracerPropagation(false));