@grapecity-software/js-collaboration 19.0.3 → 19.1.0
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/dist/index.d.ts +24 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,30 @@ export interface IServerConfig {
|
|
|
81
81
|
* @see https://socket.io/docs/v4/adapter/
|
|
82
82
|
*/
|
|
83
83
|
socketIoAdapter?: any;
|
|
84
|
+
/**
|
|
85
|
+
* The maximum incoming message size in bytes.
|
|
86
|
+
* Socket.IO will close the connection when a payload exceeds this value.
|
|
87
|
+
* Defaults to 512 MiB.
|
|
88
|
+
*/
|
|
89
|
+
maxHttpBufferSize?: number;
|
|
90
|
+
/**
|
|
91
|
+
* The maximum allowed size in bytes after a compressed message is decompressed.
|
|
92
|
+
* Exceeding this limit reports a message error without crashing the server process.
|
|
93
|
+
* Defaults to the current Node.js maximum string length, or 512 MiB when the runtime does not expose that limit.
|
|
94
|
+
*/
|
|
95
|
+
maxDecompressedMessageSize?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Forwarded directly to the Socket.IO `allowRequest` option.
|
|
98
|
+
* Use this to control whether a handshake or upgrade request should be accepted.
|
|
99
|
+
* @see https://socket.io/docs/v4/server-options/#allowrequest
|
|
100
|
+
*/
|
|
101
|
+
allowRequest?: any;
|
|
102
|
+
/**
|
|
103
|
+
* Forwarded directly to the Socket.IO `cors` option.
|
|
104
|
+
* Use this to configure CORS behavior for Socket.IO HTTP requests.
|
|
105
|
+
* @see https://socket.io/docs/v4/handling-cors/
|
|
106
|
+
*/
|
|
107
|
+
cors?: any;
|
|
84
108
|
}
|
|
85
109
|
|
|
86
110
|
export interface IFeature {
|