open-rpc / server-js

JSON-RPC 2.0 Server implementation that supports multiple transport protocols.
Apache License 2.0
44 stars 11 forks source link

add `server.stop()` #774

Open shanejonas opened 7 months ago

shanejonas commented 7 months ago

Is your feature request related to a problem? Please describe. I can't stop the server when I want to via the js api

Describe the solution you'd like I'd like to be able to call server.stop() and it call stop on all the transports.