MCPcopy Create free account
hub / github.com/effect-app/libs / RpcSerializationLayer

Function RpcSerializationLayer

packages/effect-app/src/client/apiClientFactory.ts:87–91  ·  view source on GitHub ↗
(config: ApiConfig)

Source from the content-addressed store, hash-verified

85)
86
87export const RpcSerializationLayer = (config: ApiConfig) =>
88 Layer.mergeAll(
89 RpcSerialization.layerNdjson,
90 HttpClientLayer(config)
91 )
92
93type RpcHandlers<M extends RequestsAny> = {
94 [K in keyof M]: Rpc.Rpc<M[K]["_tag"], M[K], M[K]["success"], M[K]["error"]>

Callers 1

ApiClientFactoryClass · 0.85

Calls 1

HttpClientLayerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…