@interopio/gateway-server 0.19.2 → 0.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/readme.md CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
  The `@interopio/gateway-server` package is the web server used to run the gateway as a standalone server app accessible via WebSocket.
9
9
 
10
+ The server is general purpose http server with support for:
11
+ - HTTP and HTTPS
12
+ - CORS configuration
13
+ - Basic and OAuth2 authentication
14
+ - Custom API routes (both for HTTP and WebSocket)
15
+
10
16
  ## Table of Contents
11
17
 
12
18
  - [Getting Started](#getting-started)
@@ -30,6 +36,9 @@ const server: Server = await GatewayServer({
30
36
  }
31
37
  });
32
38
 
39
+ server.address; // Bound address info
40
+ server.gateway; // Gateway instance
41
+
33
42
  await server.close();
34
43
  ```
35
44