MCPcopy
hub / github.com/blitz-js/blitz / [[...blitz]].ts

File [[...blitz]].ts

integration-tests/middleware/pages/api/rpc/[[...blitz]].ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {rpcHandler} from "@blitzjs/rpc"
2
3export default rpcHandler({onError: (error, ctx) => console.log(error)})

Callers

nothing calls this directly

Calls 2

rpcHandlerFunction · 0.90
logMethod · 0.45

Tested by

no test coverage detected