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

Function redactedUrl

packages/effect/src/http/HttpClientError.ts:186–186  ·  view source on GitHub ↗
(reason: ReasonProps)

Source from the content-addressed store, hash-verified

184// Rendering adds the names of the rendering fiber to the stored URL, so it
185// never redacts less than the names active at either point.
186const redactedUrl = (reason: ReasonProps): string => UrlParams.redactUrl(redactedUrls.get(reason) ?? reason.request.url)
187
188const formatMethodAndUrl = (reason: ReasonProps): string => `${reason.request.method} ${redactedUrl(reason)}`
189

Callers 2

formatMethodAndUrlFunction · 0.85
reasonToJSONFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected