allserver
Version:
Multi-protocol simple RPC server and [optional] client. Boilerplate-less. Opinionated. Minimalistic. DX-first.
20 lines (13 loc) • 435 B
JavaScript
module.exports = require("stampit")({
name: "Transport",
methods: {
// async startServer(defaultCtx) {},
async stopServer() {},
// getProcedureName(ctx) {},
// isIntrospection(ctx) {},
async prepareNotFoundReply(/* ctx */) {},
async prepareProcedureErrorReply(/* ctx */) {},
async prepareIntrospectionReply(/* ctx */) {},
// reply(/* ctx */) {},
},
});