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

Function layerJsonRpc

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

Source from the content-addressed store, hash-verified

549 * @category serialization
550 */
551export const layerJsonRpc = (options?: {
552 readonly contentType?: string | undefined
553}): Layer.Layer<RpcSerialization> => Layer.succeed(RpcSerialization, jsonRpc(options))
554
555/**
556 * A rpc serialization layer that uses JSON-RPC for serialization separated by

Callers

nothing calls this directly

Calls 1

jsonRpcFunction · 0.85

Tested by

no test coverage detected