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

Function layerJsonRpc

packages/effect/src/unstable/rpc/RpcSerialization.ts:608–610  ·  view source on GitHub ↗
(options?: {
  readonly contentType?: string | undefined
})

Source from the content-addressed store, hash-verified

606 * @since 4.0.0
607 */
608export const layerJsonRpc = (options?: {
609 readonly contentType?: string | undefined
610}): Layer.Layer<RpcSerialization> => Layer.succeed(RpcSerialization)(jsonRpc(options))
611
612/**
613 * RPC serialization layer that uses newline-delimited JSON-RPC for

Callers

nothing calls this directly

Calls 2

jsonRpcFunction · 0.85
succeedMethod · 0.45

Tested by

no test coverage detected