MCPcopy Create free account
hub / github.com/Effect-TS/effect / removeHash

Function removeHash

packages/effect/src/unstable/http/HttpClientRequest.ts:633–641  ·  view source on GitHub ↗
(self: HttpClientRequest)

Source from the content-addressed store, hash-verified

631 * @since 4.0.0
632 */
633export const removeHash = (self: HttpClientRequest): HttpClientRequest =>
634 makeWith(
635 self.method,
636 self.url,
637 self.urlParams,
638 Option.none(),
639 self.headers,
640 self.body
641 )
642
643/**
644 * Sets the request body and updates `Content-Type` and `Content-Length` headers from the body metadata when available.

Callers

nothing calls this directly

Calls 1

makeWithFunction · 0.70

Tested by

no test coverage detected