@litert/televoke 1.0.0-9 → 1.0.2
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/CHANGES.md +5 -1
- package/lib/client/Client.decl.d.ts +14 -14
- package/lib/client/Client.decl.d.ts.map +1 -1
- package/lib/client/Client.decl.js +14 -14
- package/lib/client/Client.decl.js.map +1 -1
- package/lib/client/JsonApiClient.impl.d.ts +14 -14
- package/lib/client/JsonApiClient.impl.d.ts.map +1 -1
- package/lib/client/JsonApiClient.impl.js +14 -14
- package/lib/client/JsonApiClient.impl.js.map +1 -1
- package/lib/client/LegacyHttpClient.impl.d.ts +14 -14
- package/lib/client/LegacyHttpClient.impl.d.ts.map +1 -1
- package/lib/client/LegacyHttpClient.impl.js +25 -15
- package/lib/client/LegacyHttpClient.impl.js.map +1 -1
- package/lib/client/index.d.ts +14 -14
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/index.js +14 -14
- package/lib/client/index.js.map +1 -1
- package/lib/index.d.ts +14 -14
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +14 -14
- package/lib/index.js.map +1 -1
- package/lib/server/LegacyServerChannel.impl.d.ts +14 -14
- package/lib/server/LegacyServerChannel.impl.d.ts.map +1 -1
- package/lib/server/LegacyServerChannel.impl.js +14 -14
- package/lib/server/LegacyServerChannel.impl.js.map +1 -1
- package/lib/server/Server.decl.d.ts +14 -14
- package/lib/server/Server.decl.d.ts.map +1 -1
- package/lib/server/Server.decl.js +14 -14
- package/lib/server/Server.decl.js.map +1 -1
- package/lib/server/Server.impl.d.ts +14 -14
- package/lib/server/Server.impl.d.ts.map +1 -1
- package/lib/server/Server.impl.js +14 -14
- package/lib/server/Server.impl.js.map +1 -1
- package/lib/server/ServerChannel.d.ts +14 -14
- package/lib/server/ServerChannel.d.ts.map +1 -1
- package/lib/server/ServerChannel.js +14 -14
- package/lib/server/ServerChannel.js.map +1 -1
- package/lib/server/SimpleJsonApiRouter.d.ts +14 -14
- package/lib/server/SimpleJsonApiRouter.d.ts.map +1 -1
- package/lib/server/SimpleJsonApiRouter.js +14 -14
- package/lib/server/SimpleJsonApiRouter.js.map +1 -1
- package/lib/server/index.d.ts +14 -14
- package/lib/server/index.d.ts.map +1 -1
- package/lib/server/index.js +14 -14
- package/lib/server/index.js.map +1 -1
- package/lib/shared/BinaryStream.d.ts +14 -14
- package/lib/shared/BinaryStream.d.ts.map +1 -1
- package/lib/shared/BinaryStream.js +14 -14
- package/lib/shared/BinaryStream.js.map +1 -1
- package/lib/shared/BinaryStreamManager.d.ts +14 -14
- package/lib/shared/BinaryStreamManager.d.ts.map +1 -1
- package/lib/shared/BinaryStreamManager.js +14 -14
- package/lib/shared/BinaryStreamManager.js.map +1 -1
- package/lib/shared/Channel.impl.d.ts +14 -14
- package/lib/shared/Channel.impl.d.ts.map +1 -1
- package/lib/shared/Channel.impl.js +14 -14
- package/lib/shared/Channel.impl.js.map +1 -1
- package/lib/shared/Constants.d.ts +14 -14
- package/lib/shared/Constants.d.ts.map +1 -1
- package/lib/shared/Constants.js +14 -14
- package/lib/shared/Constants.js.map +1 -1
- package/lib/shared/Encodings/index.d.ts +14 -14
- package/lib/shared/Encodings/index.d.ts.map +1 -1
- package/lib/shared/Encodings/index.js +14 -14
- package/lib/shared/Encodings/index.js.map +1 -1
- package/lib/shared/Encodings/v1/EncoderV1.d.ts +14 -14
- package/lib/shared/Encodings/v1/EncoderV1.d.ts.map +1 -1
- package/lib/shared/Encodings/v1/EncoderV1.js +14 -14
- package/lib/shared/Encodings/v1/EncoderV1.js.map +1 -1
- package/lib/shared/Encodings/v1/Protocol.v1.decls.d.ts +14 -14
- package/lib/shared/Encodings/v1/Protocol.v1.decls.d.ts.map +1 -1
- package/lib/shared/Encodings/v1/Protocol.v1.decls.js +14 -14
- package/lib/shared/Encodings/v1/Protocol.v1.decls.js.map +1 -1
- package/lib/shared/Encodings/v1/index.d.ts +14 -14
- package/lib/shared/Encodings/v1/index.d.ts.map +1 -1
- package/lib/shared/Encodings/v1/index.js +14 -14
- package/lib/shared/Encodings/v1/index.js.map +1 -1
- package/lib/shared/Encodings/v2/Constants.v2.d.ts +14 -14
- package/lib/shared/Encodings/v2/Constants.v2.d.ts.map +1 -1
- package/lib/shared/Encodings/v2/Constants.v2.js +14 -14
- package/lib/shared/Encodings/v2/Constants.v2.js.map +1 -1
- package/lib/shared/Encodings/v2/DecoderV2.d.ts +14 -14
- package/lib/shared/Encodings/v2/DecoderV2.d.ts.map +1 -1
- package/lib/shared/Encodings/v2/DecoderV2.js +14 -14
- package/lib/shared/Encodings/v2/DecoderV2.js.map +1 -1
- package/lib/shared/Encodings/v2/EncoderV2.d.ts +14 -14
- package/lib/shared/Encodings/v2/EncoderV2.d.ts.map +1 -1
- package/lib/shared/Encodings/v2/EncoderV2.js +14 -14
- package/lib/shared/Encodings/v2/EncoderV2.js.map +1 -1
- package/lib/shared/Encodings/v2/Encoding.v2.decl.d.ts +14 -14
- package/lib/shared/Encodings/v2/Encoding.v2.decl.d.ts.map +1 -1
- package/lib/shared/Encodings/v2/Encoding.v2.decl.js +14 -14
- package/lib/shared/Encodings/v2/Encoding.v2.decl.js.map +1 -1
- package/lib/shared/Encodings/v2/index.d.ts +14 -14
- package/lib/shared/Encodings/v2/index.d.ts.map +1 -1
- package/lib/shared/Encodings/v2/index.js +14 -14
- package/lib/shared/Encodings/v2/index.js.map +1 -1
- package/lib/shared/Errors.d.ts +14 -14
- package/lib/shared/Errors.d.ts.map +1 -1
- package/lib/shared/Errors.js +14 -14
- package/lib/shared/Errors.js.map +1 -1
- package/lib/shared/Shared.decl.d.ts +14 -14
- package/lib/shared/Shared.decl.d.ts.map +1 -1
- package/lib/shared/Shared.decl.js +14 -14
- package/lib/shared/Shared.decl.js.map +1 -1
- package/lib/shared/Utils.d.ts +14 -14
- package/lib/shared/Utils.d.ts.map +1 -1
- package/lib/shared/Utils.js +14 -14
- package/lib/shared/Utils.js.map +1 -1
- package/lib/shared/index.d.ts +14 -14
- package/lib/shared/index.d.ts.map +1 -1
- package/lib/shared/index.js +14 -14
- package/lib/shared/index.js.map +1 -1
- package/lib/transporters/Transporter.decl.d.ts +14 -14
- package/lib/transporters/Transporter.decl.d.ts.map +1 -1
- package/lib/transporters/Transporter.decl.js +14 -14
- package/lib/transporters/Transporter.decl.js.map +1 -1
- package/lib/transporters/http-listener/AbstractHttpListener.d.ts +14 -14
- package/lib/transporters/http-listener/AbstractHttpListener.d.ts.map +1 -1
- package/lib/transporters/http-listener/AbstractHttpListener.js +14 -14
- package/lib/transporters/http-listener/AbstractHttpListener.js.map +1 -1
- package/lib/transporters/http-listener/Http.Decl.d.ts +14 -14
- package/lib/transporters/http-listener/Http.Decl.d.ts.map +1 -1
- package/lib/transporters/http-listener/Http.Decl.js +14 -14
- package/lib/transporters/http-listener/Http.Decl.js.map +1 -1
- package/lib/transporters/http-listener/HttpListener.d.ts +14 -14
- package/lib/transporters/http-listener/HttpListener.d.ts.map +1 -1
- package/lib/transporters/http-listener/HttpListener.js +15 -14
- package/lib/transporters/http-listener/HttpListener.js.map +1 -1
- package/lib/transporters/http-listener/HttpUnixSocketListener.d.ts +14 -14
- package/lib/transporters/http-listener/HttpUnixSocketListener.d.ts.map +1 -1
- package/lib/transporters/http-listener/HttpUnixSocketListener.js +14 -14
- package/lib/transporters/http-listener/HttpUnixSocketListener.js.map +1 -1
- package/lib/transporters/http-listener/HttpsListener.d.ts +14 -14
- package/lib/transporters/http-listener/HttpsListener.d.ts.map +1 -1
- package/lib/transporters/http-listener/HttpsListener.js +14 -14
- package/lib/transporters/http-listener/HttpsListener.js.map +1 -1
- package/lib/transporters/http-listener/index.d.ts +14 -14
- package/lib/transporters/http-listener/index.d.ts.map +1 -1
- package/lib/transporters/http-listener/index.js +14 -14
- package/lib/transporters/http-listener/index.js.map +1 -1
- package/lib/transporters/index.d.ts +14 -14
- package/lib/transporters/index.d.ts.map +1 -1
- package/lib/transporters/index.js +14 -14
- package/lib/transporters/index.js.map +1 -1
- package/lib/transporters/legacy-http/LegacyHttp.Server.d.ts +14 -14
- package/lib/transporters/legacy-http/LegacyHttp.Server.d.ts.map +1 -1
- package/lib/transporters/legacy-http/LegacyHttp.Server.js +14 -14
- package/lib/transporters/legacy-http/LegacyHttp.Server.js.map +1 -1
- package/lib/transporters/legacy-http/LegacyHttp.Transporter.d.ts +14 -14
- package/lib/transporters/legacy-http/LegacyHttp.Transporter.d.ts.map +1 -1
- package/lib/transporters/legacy-http/LegacyHttp.Transporter.js +14 -14
- package/lib/transporters/legacy-http/LegacyHttp.Transporter.js.map +1 -1
- package/lib/transporters/legacy-http/index.d.ts +14 -14
- package/lib/transporters/legacy-http/index.d.ts.map +1 -1
- package/lib/transporters/legacy-http/index.js +14 -14
- package/lib/transporters/legacy-http/index.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tcp.Client.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tcp.Client.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tcp.Client.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tcp.Client.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tcp.Server.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tcp.Server.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tcp.Server.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tcp.Server.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tls.Client.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tls.Client.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tls.Client.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tls.Client.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tls.Server.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tls.Server.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Tls.Server.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.Tls.Server.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Transporter.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.Transporter.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.Transporter.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.Transporter.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Client.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Client.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Client.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Client.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Server.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Server.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Server.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.UnixSocket.Server.js.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.decl.d.ts +14 -14
- package/lib/transporters/lwdfx/LwDFX.decl.d.ts.map +1 -1
- package/lib/transporters/lwdfx/LwDFX.decl.js +14 -14
- package/lib/transporters/lwdfx/LwDFX.decl.js.map +1 -1
- package/lib/transporters/lwdfx/index.d.ts +14 -14
- package/lib/transporters/lwdfx/index.d.ts.map +1 -1
- package/lib/transporters/lwdfx/index.js +14 -14
- package/lib/transporters/lwdfx/index.js.map +1 -1
- package/lib/transporters/memory/Memory.Impl.d.ts +14 -14
- package/lib/transporters/memory/Memory.Impl.d.ts.map +1 -1
- package/lib/transporters/memory/Memory.Impl.js +14 -14
- package/lib/transporters/memory/Memory.Impl.js.map +1 -1
- package/lib/transporters/memory/index.d.ts +14 -14
- package/lib/transporters/memory/index.d.ts.map +1 -1
- package/lib/transporters/memory/index.js +14 -14
- package/lib/transporters/memory/index.js.map +1 -1
- package/lib/transporters/websocket/WebSocket.Client.d.ts +14 -14
- package/lib/transporters/websocket/WebSocket.Client.d.ts.map +1 -1
- package/lib/transporters/websocket/WebSocket.Client.js +16 -16
- package/lib/transporters/websocket/WebSocket.Client.js.map +1 -1
- package/lib/transporters/websocket/WebSocket.Server.d.ts +14 -14
- package/lib/transporters/websocket/WebSocket.Server.d.ts.map +1 -1
- package/lib/transporters/websocket/WebSocket.Server.js +15 -15
- package/lib/transporters/websocket/WebSocket.Server.js.map +1 -1
- package/lib/transporters/websocket/WebSocket.Transporter.d.ts +14 -14
- package/lib/transporters/websocket/WebSocket.Transporter.d.ts.map +1 -1
- package/lib/transporters/websocket/WebSocket.Transporter.js +15 -15
- package/lib/transporters/websocket/WebSocket.Transporter.js.map +1 -1
- package/lib/transporters/websocket/WebSocket.decl.d.ts +14 -14
- package/lib/transporters/websocket/WebSocket.decl.d.ts.map +1 -1
- package/lib/transporters/websocket/WebSocket.decl.js +14 -14
- package/lib/transporters/websocket/WebSocket.decl.js.map +1 -1
- package/lib/transporters/websocket/index.d.ts +14 -14
- package/lib/transporters/websocket/index.d.ts.map +1 -1
- package/lib/transporters/websocket/index.js +14 -14
- package/lib/transporters/websocket/index.js.map +1 -1
- package/package.json +8 -8
- package/src/lib/client/Client.decl.ts +14 -14
- package/src/lib/client/JsonApiClient.impl.ts +14 -14
- package/src/lib/client/LegacyHttpClient.impl.ts +27 -15
- package/src/lib/client/index.ts +14 -14
- package/src/lib/index.ts +14 -14
- package/src/lib/server/LegacyServerChannel.impl.ts +14 -14
- package/src/lib/server/Server.decl.ts +14 -14
- package/src/lib/server/Server.impl.ts +14 -14
- package/src/lib/server/ServerChannel.ts +14 -14
- package/src/lib/server/SimpleJsonApiRouter.ts +14 -14
- package/src/lib/server/index.ts +14 -14
- package/src/lib/shared/BinaryStream.ts +14 -14
- package/src/lib/shared/BinaryStreamManager.ts +14 -14
- package/src/lib/shared/Channel.impl.ts +14 -14
- package/src/lib/shared/Constants.ts +14 -14
- package/src/lib/shared/Encodings/index.ts +14 -14
- package/src/lib/shared/Encodings/v1/EncoderV1.ts +14 -14
- package/src/lib/shared/Encodings/v1/Protocol.v1.decls.ts +14 -14
- package/src/lib/shared/Encodings/v1/index.ts +14 -14
- package/src/lib/shared/Encodings/v2/Constants.v2.ts +14 -14
- package/src/lib/shared/Encodings/v2/DecoderV2.ts +14 -14
- package/src/lib/shared/Encodings/v2/EncoderV2.ts +14 -14
- package/src/lib/shared/Encodings/v2/Encoding.v2.decl.ts +14 -14
- package/src/lib/shared/Encodings/v2/index.ts +14 -14
- package/src/lib/shared/Errors.ts +14 -14
- package/src/lib/shared/Shared.decl.ts +14 -14
- package/src/lib/shared/Utils.ts +14 -14
- package/src/lib/shared/index.ts +14 -14
- package/src/lib/transporters/Transporter.decl.ts +14 -14
- package/src/lib/transporters/http-listener/AbstractHttpListener.ts +14 -14
- package/src/lib/transporters/http-listener/Http.Decl.ts +14 -14
- package/src/lib/transporters/http-listener/HttpListener.ts +15 -14
- package/src/lib/transporters/http-listener/HttpUnixSocketListener.ts +14 -14
- package/src/lib/transporters/http-listener/HttpsListener.ts +14 -14
- package/src/lib/transporters/http-listener/index.ts +14 -14
- package/src/lib/transporters/index.ts +14 -14
- package/src/lib/transporters/legacy-http/LegacyHttp.Server.ts +14 -14
- package/src/lib/transporters/legacy-http/LegacyHttp.Transporter.ts +14 -14
- package/src/lib/transporters/legacy-http/index.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.Tcp.Client.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.Tcp.Server.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.Tls.Client.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.Tls.Server.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.Transporter.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.UnixSocket.Client.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.UnixSocket.Server.ts +14 -14
- package/src/lib/transporters/lwdfx/LwDFX.decl.ts +14 -14
- package/src/lib/transporters/lwdfx/index.ts +14 -14
- package/src/lib/transporters/memory/Memory.Impl.ts +14 -14
- package/src/lib/transporters/memory/index.ts +14 -14
- package/src/lib/transporters/websocket/WebSocket.Client.ts +16 -16
- package/src/lib/transporters/websocket/WebSocket.Server.ts +15 -15
- package/src/lib/transporters/websocket/WebSocket.Transporter.ts +17 -17
- package/src/lib/transporters/websocket/WebSocket.decl.ts +14 -14
- package/src/lib/transporters/websocket/index.ts +14 -14
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
export * from './LwDFX.Tcp.Client';
|
|
17
17
|
export * from './LwDFX.Tls.Client';
|
|
18
18
|
export * from './LwDFX.Tcp.Server';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/lwdfx/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/lwdfx/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
18
|
if (k2 === undefined) k2 = k;
|
|
19
19
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transporters/lwdfx/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transporters/lwdfx/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,+CAA6B"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
/// <reference types="node" />
|
|
17
17
|
import type * as dT from '../Transporter.decl';
|
|
18
18
|
import { EventEmitter } from 'node:events';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Memory.Impl.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/memory/Memory.Impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Memory.Impl.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/memory/Memory.Impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,WAAW,eAAe;IAE5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,EAAE,CAAC,OAAO,CAAC;CACtB;AA+LD,MAAM,WAAW,cAAe,SAAQ,EAAE,CAAC,QAAQ;IAE/C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AAED,cAAM,aAAc,SAAQ,YAAa,YAAW,cAAc;aAO1C,IAAI,EAAE,MAAM;IAC5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAN5B,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;gBAG7C,IAAI,EAAE,MAAM,EACX,OAAO,EAAE,EAAE,CAAC,OAAO;IAOxC,IAAW,OAAO,IAAI,OAAO,CAG5B;IAED,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,qBAAqB;IAatB,OAAO,IAAI,EAAE,CAAC,YAAY;IAsB1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAWtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAgB/B;AAID,wBAAgB,YAAY,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,KAAK,IAAI,GAAG,aAAa,CAwB/G;AAmBD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,CAG3D"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.createConnector = exports.createServer = void 0;
|
|
19
19
|
const Shared = require("../../shared");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Memory.Impl.js","sourceRoot":"","sources":["../../../src/lib/transporters/memory/Memory.Impl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Memory.Impl.js","sourceRoot":"","sources":["../../../src/lib/transporters/memory/Memory.Impl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uCAAuC;AAEvC,6CAA2C;AAC3C,sCAAsC;AAStC,SAAS,gBAAgB;IAErB,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC;AAeD,MAAM,cAAe,SAAQ,0BAAY;IAMrC,YACoB,IAAY;QAG5B,KAAK,EAAE,CAAC;QAHQ,SAAI,GAAJ,IAAI,CAAQ;QALxB,YAAO,GAAY,KAAK,CAAC;QAEzB,YAAO,GAAY,KAAK,CAAC;IAOjC,CAAC;IAEM,IAAI,CAAC,cAAyB,EAAE,IAAS;QAE5C,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC;IAClE,CAAC;IAEM,OAAO,CAAC,QAAmB;QAE9B,IAAI,QAAQ,KAAK,GAAG,EAAE,CAAC;YAEnB,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,GAAG,CAAC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AAE;QAEpB,OAAO,OAAO,CAAC,IAAI,CAAC,IAAK,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC;AAxBD,oCAwBC;AAED,MAAM,eAAe;IAEjB,YACqB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IAC/B,CAAC;IAEG,OAAO;QAEV,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAEvB,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,OAAO,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACJ;AAED,SAAgB,eAAe,CAAC,IAAY;IAExC,OAAO,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAHD,0CAGC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
export * from './Memory.Impl';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/memory/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/memory/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,eAAe,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
18
|
if (k2 === undefined) k2 = k;
|
|
19
19
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transporters/memory/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transporters/memory/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAEH,gDAA8B"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
import * as LibWS from '@litert/websocket';
|
|
17
17
|
import type * as dT from '../Transporter.decl';
|
|
18
18
|
export declare function createWsConnector(opts: LibWS.IWsConnectOptions): dT.IConnector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Client.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Client.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAE3C,OAAO,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AA+C/C,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,iBAAiB,GAAG,EAAE,CAAC,UAAU,CAI9E;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC,kBAAkB,GAAG,EAAE,CAAC,UAAU,CAIhF"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.createWssConnector = exports.createWsConnector = void 0;
|
|
19
19
|
const LibWS = require("@litert/websocket");
|
|
@@ -56,12 +56,12 @@ class WssConnector {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function createWsConnector(opts) {
|
|
59
|
-
opts.
|
|
59
|
+
opts.frameReceiveMode = LibWS.EFrameReceiveMode.LITE;
|
|
60
60
|
return new WsConnector(opts);
|
|
61
61
|
}
|
|
62
62
|
exports.createWsConnector = createWsConnector;
|
|
63
63
|
function createWssConnector(opts) {
|
|
64
|
-
opts.
|
|
64
|
+
opts.frameReceiveMode = LibWS.EFrameReceiveMode.LITE;
|
|
65
65
|
return new WssConnector(opts);
|
|
66
66
|
}
|
|
67
67
|
exports.createWssConnector = createWssConnector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Client.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Client.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2CAA2C;AAC3C,wCAAwC;AAExC,mEAA+D;AAE/D,MAAM,WAAW;IAEb,YAAoC,KAA8B;QAA9B,UAAK,GAAL,KAAK,CAAyB;IAAG,CAAC;IAE/D,KAAK,CAAC,OAAO;QAEhB,MAAM,EAAE,GAAG,MAAM,KAAK,CAAC,SAAS,CAAC;YAC7B,GAAG,IAAI,CAAC,KAAK;YACb,OAAO,EAAE;gBACL,GAAG,IAAI,CAAC,KAAK,EAAE,OAAO;gBACtB,GAAG,KAAK,CAAC,4BAA4B,CAAC;oBAClC,cAAc,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC;iBAC/C,CAAC;aACL;SACJ,CAAC,CAAC;QAEH,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAErB,OAAO,IAAI,4CAAoB,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;CACJ;AAED,MAAM,YAAY;IAEd,YAAoC,KAA+B;QAA/B,UAAK,GAAL,KAAK,CAA0B;IAAG,CAAC;IAEhE,KAAK,CAAC,OAAO;QAEhB,MAAM,EAAE,GAAG,MAAM,KAAK,CAAC,UAAU,CAAC;YAC9B,GAAG,IAAI,CAAC,KAAK;YACb,OAAO,EAAE;gBACL,GAAG,IAAI,CAAC,KAAK,EAAE,OAAO;gBACtB,GAAG,KAAK,CAAC,4BAA4B,CAAC;oBAClC,cAAc,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC;iBAC/C,CAAC;aACL;SACJ,CAAC,CAAC;QAEH,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAErB,OAAO,IAAI,4CAAoB,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;CACJ;AAED,SAAgB,iBAAiB,CAAC,IAA6B;IAE3D,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrD,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC;AAJD,8CAIC;AAED,SAAgB,kBAAkB,CAAC,IAA8B;IAE7D,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrD,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAJD,gDAIC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
import type * as Listener from '../http-listener';
|
|
17
17
|
import type * as dT from '../Transporter.decl';
|
|
18
18
|
export interface IWebSocketGatewayOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Server.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Server.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAwF/C,MAAM,WAAW,wBAAwB;IAErC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAClC,QAAQ,EAAE,QAAQ,CAAC,aAAa,EAChC,MAAM,EAAE,EAAE,CAAC,OAAO,EAClB,OAAO,GAAE,wBAA6B,GACvC,EAAE,CAAC,QAAQ,CAGb"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.createWebsocketGateway = void 0;
|
|
19
19
|
const LibWS = require("@litert/websocket");
|
|
@@ -55,7 +55,7 @@ class WebSocketGateway extends node_events_1.EventEmitter {
|
|
|
55
55
|
.on('error', (e) => this.emit('error', e))
|
|
56
56
|
.setUpgradeProcessor(this._onUpgrade);
|
|
57
57
|
this._wsServer = LibWS.createServer({
|
|
58
|
-
|
|
58
|
+
frameReceiveMode: LibWS.EFrameReceiveMode.LITE,
|
|
59
59
|
timeout,
|
|
60
60
|
});
|
|
61
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Server.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Server.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Server.js","sourceRoot":"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E,CAAC,CAAC,CAAC;QACrF,CAAC,CAAC;QA5CE,IAAI,CAAC,SAAS;aACT,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;aACzC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE1C,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,YAAY,CAAC;YAChC,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI;YAC9C,OAAO;SACV,CAAC,CAAC;IACP,CAAC;IAsCD,IAAW,OAAO;QAEd,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAClC,CAAC;IAEM,KAAK,CAAC,KAAK;QAEd,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAEf,OAAO;QACX,CAAC;QAED,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,IAAI;QAEb,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAEhB,OAAO;QACX,CAAC;QAED,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;CACJ;AAcD;;;;;GAKG;AACH,SAAgB,sBAAsB,CAClC,QAAgC,EAChC,MAAkB,EAClB,UAAoC,EAAE;IAGtC,OAAO,IAAI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACnE,CAAC;AAPD,wDAOC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
/// <reference types="node" />
|
|
17
17
|
/// <reference types="node" />
|
|
18
18
|
import * as LibWS from '@litert/websocket';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Transporter.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Transporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Transporter.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Transporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,YAAY;aAG9E,QAAQ,EAAE,MAAM;IAChC,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU;gBAD1B,QAAQ,EAAE,MAAM,EACb,KAAK,EAAE,KAAK,CAAC,UAAU;IA4BvC,OAAO,IAAI,IAAI;IAKf,gBAAgB,IAAI,MAAM,EAAE;IAK5B,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAW3C,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAczC,IAAW,QAAQ,IAAI,OAAO,CAG7B;IAEM,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI;IAiB5D,GAAG,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAmB5C"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
3
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.WebSocketTransporter = void 0;
|
|
19
19
|
const LibWS = require("@litert/websocket");
|
|
@@ -28,7 +28,7 @@ class WebSocketTransporter extends node_events_1.EventEmitter {
|
|
|
28
28
|
this._conn
|
|
29
29
|
.on('end', () => this.emit('end'))
|
|
30
30
|
.on('finish', () => this.emit('finish'))
|
|
31
|
-
.on('
|
|
31
|
+
.on('message', (frame) => {
|
|
32
32
|
switch (frame.opcode) {
|
|
33
33
|
case LibWS.EOpcode.BINARY:
|
|
34
34
|
this.emit('frame', frame.data);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.Transporter.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Transporter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.Transporter.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.Transporter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2CAA2C;AAC3C,uCAAuC;AAEvC,6CAA2C;AAE3C,MAAM,cAAc,GAAG,CAAC,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;AAEvG,MAAa,oBAAqB,SAAQ,0BAAY;IAElD,YACoB,QAAgB,EACb,KAAuB;QAE1C,KAAK,EAAE,CAAC;QAHQ,aAAQ,GAAR,QAAQ,CAAQ;QACb,UAA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,KAAK,EAAE,CAAC;gBAER,IAAI,CAAC;oBAED,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;gBAClC,CAAC;gBACD,OAAO,CAAC,EAAE,CAAC;oBAEP,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;gBAC7E,CAAC;YACL,CAAC;YAED,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;QACrB,CAAC;IACL,CAAC;CACJ;AA5GD,oDA4GC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
2
|
+
* Copyright 2024 Angus.Fenying <fenying@litert.org>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
export declare const WEBSOCKET_SUB_PROTOCOL = "televoke2";
|
|
17
17
|
export declare const WS_PROTOCOL_NAME = "ws";
|
|
18
18
|
export declare const WSS_PROTOCOL_NAME = "wss";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.decl.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.decl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.decl.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.decl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,sBAAsB,cAAc,CAAC;AAElD,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,eAAO,MAAM,iBAAiB,QAAQ,CAAC"}
|