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

Function layerHttp

packages/effect/src/graphql/GraphQLProtocol.ts:701–704  ·  view source on GitHub ↗
(
  options: HttpOptions<R>
)

Source from the content-addressed store, hash-verified

699 HttpClient.HttpClient
700 >
701} = <R>(
702 options: HttpOptions<R>
703): Layer.Layer<GraphQLProtocol, never, HttpClient.HttpClient | Socket.WebSocketConstructor | R> =>
704 Layer.effect(GraphQLProtocol, makeHttpWith(options))
705
706interface WebSocketOptions<R = never> {
707 readonly url: string

Callers

nothing calls this directly

Calls 1

makeHttpWithFunction · 0.85

Tested by

no test coverage detected