5.0.24 • Published 6 months ago

@travetto/rest-rpc v5.0.24

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

RESTful RPC Support

RESTful RPC support for a module

Install: @travetto/rest-rpc

npm install @travetto/rest-rpc

# or

yarn add @travetto/rest-rpc

This module allows for a highly focused scenario, of supporting RPC operations within a RESTful API application. The module takes care of producing the appropriate interceptor to handle the RPC commands along with the ability to generate the appropriate client to be used to interact with the RPC functionality. The client uses Proxy-based objects, along with Typescript magic to create a dynamic client that is not generated.

CLI - rest:rpc

The library will create the RPC client in one of three flavors: fetch, fetch + node, angular.

Terminal: Command Service

$ trv rest:rpc --help

Usage: rest:rpc [options] <type:angular|config|node|web> [output:string]

Options:
  -e, --env <string>     Application environment
  -m, --module <module>  Module to run for
  -h, --help             display help for command
5.0.23

6 months ago

5.0.24

6 months ago

5.0.22

6 months ago

5.0.21

8 months ago

5.0.20

9 months ago

5.0.19

9 months ago

5.0.18

9 months ago

5.0.17

9 months ago

5.0.16

9 months ago

5.0.15

9 months ago

5.0.14

9 months ago

5.0.13

9 months ago

5.0.12

9 months ago

5.0.11

10 months ago

5.0.10

10 months ago

5.0.9

10 months ago