1.0.7 • Published 2 years ago

express-gateway-plugin-wsproxy v1.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

express-gateway-plugin-wsproxy

This plugin for Express Gateway makes it possible to proxy WebSocket connection to the specific WebSocket based on Express Paths or RegExp Rules.

Installation

Simply type from your shell environment:

eg plugin install express-gateway-plugin-wsproxy

Quick start

  1. Make sure the plugin is listed in system.config.yml file. This is done automatically for you if you used the command above.

  2. Add the configuration keys to gateway.config.yml file.

  telemetry_ws:
    apiEndpoints:
      - ws_endpoint
    policies:
      - cors:
          - action:
              origin: '*'
              credentials: true
      - jwt:
          action:
            secretOrPublicKeyFile: public.pem
            checkCredentialExistence: false
            jwtExtractor: 'query'
            jwtExtractorField: 'token'
      - wsproxy:
          - action:
              serviceEndpoint: ws_endpoint
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago