@interopio/gateway-server 0.19.3 → 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/changelog.md +7 -0
- package/dist/gateway-ent.cjs +2 -2
- package/dist/gateway-ent.cjs.map +1 -1
- package/dist/gateway-ent.js +2 -2
- package/dist/gateway-ent.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/web/test.js +2 -2
- package/dist/web/test.js.map +2 -2
- package/gateway-server.d.ts +6 -1
- package/package.json +1 -1
- package/readme.md +9 -0
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
|
|