This PR provides a specialized RestService type that can be mounted on the Host infrastructure. It provides a similar API to the WebService and WebSocketService RPC types, but supports the typical get, post, put, delete HTTP verbs in place of method names.
The RestService is a specialized version of the HttpService. It implements it's own routing (outside of Express) and is intended to be used as a pivot point for Node / Deno implementations in future.
This PR provides a specialized
RestService
type that can be mounted on theHost
infrastructure. It provides a similar API to theWebService
andWebSocketService
RPC types, but supports the typicalget
,post
,put
,delete
HTTP verbs in place of method names.The
RestService
is a specialized version of theHttpService
. It implements it's own routing (outside of Express) and is intended to be used as a pivot point for Node / Deno implementations in future.