MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/platform/src/internal/httpClientRequest.ts:75–84  ·  view source on GitHub ↗
(method: M)

Source from the content-addressed store, hash-verified

73
74/** @internal */
75export const make = <M extends HttpMethod>(method: M) =>
76(
77 url: string | URL,
78 options?: M extends "GET" | "HEAD" ? ClientRequest.Options.NoBody : ClientRequest.Options.NoUrl
79) =>
80 modify(empty, {
81 method,
82 url,
83 ...(options ?? undefined)
84 })
85
86/** @internal */
87export const get = make("GET")

Callers 1

Calls 1

modifyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…