@litert/televoke 1.0.1 → 1.0.3
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 +9 -0
- 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 +15 -14
- package/lib/client/JsonApiClient.impl.js.map +1 -1
- package/lib/client/index.d.ts +15 -15
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/index.js +15 -15
- 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 +14 -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/{client/LegacyHttpClient.impl.d.ts → transporters/legacy-http/LegacyHttp.Client.Native.d.ts} +35 -17
- package/lib/transporters/legacy-http/LegacyHttp.Client.Native.d.ts.map +1 -0
- package/lib/{client/LegacyHttpClient.impl.js → transporters/legacy-http/LegacyHttp.Client.Native.js} +24 -23
- package/lib/transporters/legacy-http/LegacyHttp.Client.Native.js.map +1 -0
- 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 +15 -14
- package/lib/transporters/legacy-http/index.d.ts.map +1 -1
- package/lib/transporters/legacy-http/index.js +15 -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 +10 -10
- package/src/lib/client/Client.decl.ts +14 -14
- package/src/lib/client/JsonApiClient.impl.ts +15 -14
- package/src/lib/client/index.ts +16 -15
- 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 +14 -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/{client/LegacyHttpClient.impl.ts → transporters/legacy-http/LegacyHttp.Client.Native.ts} +45 -23
- 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 +15 -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
- package/lib/client/LegacyHttpClient.impl.d.ts.map +0 -1
- package/lib/client/LegacyHttpClient.impl.js.map +0 -1
|
@@ -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
|
|
|
17
17
|
import type * as $Net from 'node:net';
|
|
18
18
|
import * as Http from 'node:http';
|
|
@@ -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
|
|
|
17
17
|
import type * as $Net from 'node:net';
|
|
18
18
|
import * as Http from 'node:http';
|
|
@@ -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
|
|
|
17
17
|
import * as Https from 'node:https';
|
|
18
18
|
import type * as $Net from 'node:net';
|
|
@@ -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
|
|
|
17
17
|
export * from './Http.Decl';
|
|
18
18
|
export * from './HttpListener';
|
|
@@ -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
|
|
|
17
17
|
export type * from './Transporter.decl';
|
|
@@ -1,29 +1,30 @@
|
|
|
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
|
|
|
17
17
|
import * as $Http from 'http';
|
|
18
18
|
import * as $Https from 'https';
|
|
19
|
-
import * as C from '
|
|
20
|
-
import * as Shared from '
|
|
21
|
-
import * as v1 from '
|
|
19
|
+
import type * as C from '../../client/Client.decl';
|
|
20
|
+
import * as Shared from '../../shared';
|
|
21
|
+
import * as v1 from '../../shared/Encodings/v1';
|
|
22
22
|
import { EventEmitter } from 'node:events';
|
|
23
23
|
|
|
24
24
|
const HTTP_HEADER_CONTENT_LENGTH = 'content-length';
|
|
25
25
|
const HTTP_HEADER_TV_VER = 'x-tv-ver';
|
|
26
26
|
|
|
27
|
+
const DEFAULT_MAX_CONNECTIONS = 100;
|
|
27
28
|
const DEFAULT_TIMEOUT = 30_000;
|
|
28
29
|
|
|
29
30
|
const disabledStreamManager = Shared.createDisabledStreamManagerFactory()(null as any);
|
|
@@ -261,6 +262,27 @@ interface IHttpClientOptionsBase extends $Https.RequestOptions {
|
|
|
261
262
|
* @default true
|
|
262
263
|
*/
|
|
263
264
|
retryOnConnReset?: boolean;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* The maximum number of connections.
|
|
268
|
+
*
|
|
269
|
+
* @default 100
|
|
270
|
+
*/
|
|
271
|
+
maxConnections?: number;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The timeout of keep-alive.
|
|
275
|
+
*
|
|
276
|
+
* @default 30000
|
|
277
|
+
*/
|
|
278
|
+
keepAliveTimeout?: number;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Whether to keep-alive.
|
|
282
|
+
*
|
|
283
|
+
* @default true
|
|
284
|
+
*/
|
|
285
|
+
keepAlive?: boolean;
|
|
264
286
|
}
|
|
265
287
|
|
|
266
288
|
export interface IHttpClientNetworkOptions extends IHttpClientOptionsBase {
|
|
@@ -296,13 +318,13 @@ export function createLegacyHttpClient<TAPIs extends Shared.IObject>(opts: IHttp
|
|
|
296
318
|
opts.https ? $Https.request : $Http.request,
|
|
297
319
|
opts,
|
|
298
320
|
opts.https ? new $Https.Agent({
|
|
299
|
-
'maxSockets':
|
|
300
|
-
'keepAlive': true,
|
|
301
|
-
'keepAliveMsecs': DEFAULT_TIMEOUT
|
|
321
|
+
'maxSockets': opts.maxConnections ?? DEFAULT_MAX_CONNECTIONS,
|
|
322
|
+
'keepAlive': opts.keepAlive ?? true,
|
|
323
|
+
'keepAliveMsecs': opts.keepAliveTimeout ?? DEFAULT_TIMEOUT
|
|
302
324
|
}) : new $Http.Agent({
|
|
303
|
-
'maxSockets':
|
|
304
|
-
'keepAlive': true,
|
|
305
|
-
'keepAliveMsecs': DEFAULT_TIMEOUT
|
|
325
|
+
'maxSockets': opts.maxConnections ?? DEFAULT_MAX_CONNECTIONS,
|
|
326
|
+
'keepAlive': opts.keepAlive ?? true,
|
|
327
|
+
'keepAliveMsecs': opts.keepAliveTimeout ?? DEFAULT_TIMEOUT
|
|
306
328
|
}),
|
|
307
329
|
opts.retryOnConnReset,
|
|
308
330
|
opts.apiNameWrapper,
|
|
@@ -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
|
|
|
17
17
|
import type * as Listener from '../http-listener';
|
|
18
18
|
import type * as Http from 'node:http';
|
|
@@ -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
|
|
|
17
17
|
import * as Http from 'node:http';
|
|
18
18
|
import type * as Shared from '../../shared';
|
|
@@ -1,18 +1,19 @@
|
|
|
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
|
|
|
17
17
|
export * from './LegacyHttp.Server';
|
|
18
18
|
export * from './LegacyHttp.Transporter';
|
|
19
|
+
export * from './LegacyHttp.Client.Native';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import * as Shared from '../../shared';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
import type * as dT from '../Transporter.decl';
|
|
@@ -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
|
|
|
17
17
|
import * as LwDFX from '@litert/lwdfx';
|
|
18
18
|
|