@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,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.WSS_PROTOCOL_NAME = exports.WS_PROTOCOL_NAME = exports.WEBSOCKET_SUB_PROTOCOL = void 0;
|
|
19
19
|
exports.WEBSOCKET_SUB_PROTOCOL = 'televoke2';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocket.decl.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.decl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WebSocket.decl.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/WebSocket.decl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEU,QAAA,sBAAsB,GAAG,WAAW,CAAC;AAErC,QAAA,gBAAgB,GAAG,IAAI,CAAC;AAExB,QAAA,iBAAiB,GAAG,KAAK,CAAC"}
|
|
@@ -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 './WebSocket.Client';
|
|
17
17
|
export * from './WebSocket.Server';
|
|
18
18
|
export * from './WebSocket.decl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,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/websocket/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transporters/websocket/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@litert/televoke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A simple RPC service framework.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build-watch": "tsc -v && tsc -w -p .",
|
|
11
11
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
12
12
|
"test": "mocha",
|
|
13
|
-
"prepare": "husky
|
|
13
|
+
"prepare": "husky",
|
|
14
14
|
"clean": "rm -rf lib examples benchmarks test",
|
|
15
15
|
"lint": "eslint -c .eslintrc --ext '.ts' ./src"
|
|
16
16
|
},
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"types": "lib/index.d.ts",
|
|
33
33
|
"typings": "lib/index.d.ts",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@commitlint/cli": "^18.
|
|
36
|
-
"@commitlint/config-conventional": "^18.
|
|
35
|
+
"@commitlint/cli": "^18.6.1",
|
|
36
|
+
"@commitlint/config-conventional": "^18.6.2",
|
|
37
37
|
"@litert/eslint-plugin-rules": "^0.1.6",
|
|
38
38
|
"@litert/lwdfx": "^1.1.3",
|
|
39
|
-
"@litert/websocket": "^0.
|
|
39
|
+
"@litert/websocket": "^0.2.0",
|
|
40
40
|
"@types/mocha": "^10.0.6",
|
|
41
|
-
"@types/node": "^20.
|
|
42
|
-
"husky": "^
|
|
43
|
-
"mocha": "^10.
|
|
41
|
+
"@types/node": "^20.11.19",
|
|
42
|
+
"husky": "^9.0.11",
|
|
43
|
+
"mocha": "^10.3.0",
|
|
44
44
|
"typescript": "^5.3.3"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -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 Shared from '../shared';
|
|
18
18
|
|
|
@@ -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 Shared from '../shared';
|
|
18
18
|
import type * as dC from './Client.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 $Http from 'http';
|
|
18
18
|
import * as $Https from 'https';
|
|
@@ -128,9 +128,20 @@ class TvLegacyHttpClient extends EventEmitter implements C.IClient<any> {
|
|
|
128
128
|
},
|
|
129
129
|
}, (resp) => {
|
|
130
130
|
|
|
131
|
+
if (resp.statusCode !== 200) {
|
|
132
|
+
|
|
133
|
+
resp.socket.destroy();
|
|
134
|
+
reject(new Shared.errors.invalid_response({
|
|
135
|
+
reason: 'invalid_status_code',
|
|
136
|
+
statusCode: resp.statusCode
|
|
137
|
+
}));
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
|
|
131
141
|
if (!resp.headers[HTTP_HEADER_CONTENT_LENGTH]) {
|
|
132
142
|
|
|
133
|
-
|
|
143
|
+
resp.socket.destroy();
|
|
144
|
+
reject(new Shared.errors.invalid_response({ reason: 'missing_content_length' }));
|
|
134
145
|
return;
|
|
135
146
|
}
|
|
136
147
|
|
|
@@ -138,6 +149,7 @@ class TvLegacyHttpClient extends EventEmitter implements C.IClient<any> {
|
|
|
138
149
|
|
|
139
150
|
if (!Number.isSafeInteger(length) || length > v1.MAX_PACKET_SIZE) { // Maximum request packet is 64MB
|
|
140
151
|
|
|
152
|
+
resp.socket.destroy();
|
|
141
153
|
reject(new Shared.errors.invalid_packet({ reason: 'packet_too_large' }));
|
|
142
154
|
return;
|
|
143
155
|
}
|
package/src/lib/client/index.ts
CHANGED
|
@@ -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 './Client.decl';
|
|
18
18
|
export * from './JsonApiClient.impl';
|
package/src/lib/index.ts
CHANGED
|
@@ -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 './shared';
|
|
18
18
|
export * as Servers from './server';
|
|
@@ -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 Shared from '../shared';
|
|
18
18
|
import { EventEmitter } from 'node:events';
|
|
@@ -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 Shared from '../shared';
|
|
18
18
|
|
|
@@ -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 dS from './Server.decl';
|
|
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 type * as dS from './Server.decl';
|
|
18
18
|
import { AbstractTvChannelV2 } from '../shared/Channel.impl';
|
|
@@ -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 dS from './Server.decl';
|
|
18
18
|
import * as Shared from '../shared';
|
package/src/lib/server/index.ts
CHANGED
|
@@ -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 './Server.decl';
|
|
18
18
|
export * from './Server.impl';
|
|
@@ -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 Shared from './Shared.decl';
|
|
18
18
|
import * as E from './Errors';
|
|
@@ -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 Shared from './Shared.decl';
|
|
18
18
|
import * as Constants from './Constants';
|