Home

Awesome

<div align="center">

rpc

nest badge

</div>

JSONRPC server router for Deno using native WebSocket, based on jsonrpc.

Features

Example

import { App } from 'https://deno.land/x/rpc/app.ts'

const app = new App()

app.method<[string]>('hello', (params) => {
  return `Hello ${params[0]}`
})

app.listen({ port: 8080, hostname: '0.0.0.0' })

See client-server example here