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

Function fromWeb

packages/effect/src/unstable/http/HttpClientResponse.ts:80–81  ·  view source on GitHub ↗
(request: HttpClientRequest.HttpClientRequest, source: Response)

Source from the content-addressed store, hash-verified

78 * @since 4.0.0
79 */
80export const fromWeb = (request: HttpClientRequest.HttpClientRequest, source: Response): HttpClientResponse =>
81 new WebHttpClientResponse(request, source)
82
83/**
84 * Creates a decoder for a response's status, headers, and JSON body using the supplied schema.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected