Skip to content

Commit 645f287

Browse files
committed
Update copyright information, links, and project name to reflect rebranding
1 parent e7a4a6c commit 645f287

6 files changed

Lines changed: 27 additions & 25 deletions

File tree

LICENSE.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
Copyright 2017 Refinitiv
1+
Copyright (C) 2019-2022,2024 LSEG. All rights reserved.
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
46

5-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
http://www.apache.org/licenses/LICENSE-2.0
68

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
# Refinitiv Real-time WebSocket API with Web Workers Example
1+
# Real-time WebSocket API with Web Workers Example
22

3-
- Last update: Sep 2021
3+
- Last update: Feb 2025
44
- Environment: Any
55
- Compiler: JavaScript
66
- Prerequisite: Refinitiv Real-Time Advanced Data Hub and Refinitiv Real-Time Advanced Distribution servers version 3.2.1 and above
77

88
## Overview
99

10-
[Websocket API for Pricing Streaming and Real-Time Service](https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time-opnsrc/refinitiv-websocket-api) aka Websocket API application enables easy integration into a multitude of client technology environments such as scripting and web. This API runs directly on your Refinitiv Real-Time infrastructure and presents data in an open (JSON) readable format. The API supports all Refinitiv Real-Time data models and can be integrated into multiple client technology standards e.g. Python, R, .Net, etc.
10+
[Websocket API for Pricing Streaming and Real-Time Service](https://developers.lseg.com/en/api-catalog/real-time-opnsrc/websocket-api) aka Websocket API application enables easy integration into a multitude of client technology environments such as scripting and web. This API runs directly on your Refinitiv Real-Time infrastructure and presents data in an open (JSON) readable format. The API supports all Refinitiv Real-Time data models and can be integrated into multiple client technology standards e.g. Python, R, .Net, etc.
1111

1212
The web browser's JavaScript runtime is a single-threaded environment by default. However, the HTML standard lets developers implement multi-threads JavaScript application in the web browser by introducing the [Web Workers](https://html.spec.whatwg.org/multipage/workers.html) feature that lets web browsers run JavaScripts in the main thread and a background thread (workers thread).
1313

14-
This example shows how to implement the Refinitiv Real-time WebSocket API with JavaScript web application with Web Workers. It allows the Web Workers thread to handle the connection logic with eal-Time Advanced Distribution server while the main thread handles the UI interaction events and displaying data.
14+
This example shows how to implement the Real-time WebSocket API with JavaScript web application with Web Workers. It allows the Web Workers thread to handle the connection logic with eal-Time Advanced Distribution server while the main thread handles the UI interaction events and displaying data.
1515

16-
There are two types of Web Workers, [Dedicated Workers](https://html.spec.whatwg.org/multipage/workers.html#dedicated-workers-and-the-worker-interface) and [Shared Workers](https://html.spec.whatwg.org/multipage/workers.html#sharedworker). This example covers only how to implement the Refinitiv Real-time WebSocket API with JavaScript web browser application with Dedicated Workers.
16+
There are two types of Web Workers, [Dedicated Workers](https://html.spec.whatwg.org/multipage/workers.html#dedicated-workers-and-the-worker-interface) and [Shared Workers](https://html.spec.whatwg.org/multipage/workers.html#sharedworker). This example covers only how to implement the Real-time WebSocket API with JavaScript web browser application with Dedicated Workers.
1717

18-
*Note: The initial release of this API is for deployed Refinitiv Real-Time Advanced Distribution Server customers only (i.e. to use it you will need an installed version of Refinitiv Real-Time Advanced Distribution Server 3.2.1 and above).
1918

2019
## Supported Web Browsers
2120
The example supports Chrome/Microsoft Edge (Chrome-based version), Firefox, and IE11 (based on the WebSocket and Web Workers browser supported platform).
@@ -62,12 +61,12 @@ The web application contains the following example files and folder:
6261
## References
6362

6463
For further details, please check out the following resources:
65-
* [Refinitiv Real-Time & Distribution Family page](https://developers.refinitiv.com/en/use-cases-catalog/refinitiv-real-time) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.
66-
* [WebSocket API page](https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time-opnsrc/refinitiv-websocket-api).
64+
* [LSEG Real-Time products page](https://developers.lseg.com/en/use-cases-catalog/real-time) on the [LSEG Developer Community](https://developers.lseg.com/) web site.
65+
* [WebSocket API page](https://developers.lseg.com/en/api-catalog/real-time-opnsrc/websocket-api).
6766
* [Developer Webinar Recording: Introduction to Electron Websocket API](https://www.youtube.com/watch?v=CDKWMsIQfaw)
6867
* [Mozilla Developer Network: Web Workers API page](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API).
6968
* [Google HTML5 Rocks: The Basics of Web Workers page](https://www.html5rocks.com/en/tutorials/workers/basics/)
7069
* [Mozilla Developer Network: WebSocket API page](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)
7170

72-
For any questions related to this article or the WebSocket API page, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/152/websocket-api.html).
71+
For any questions related to this article or the WebSocket API page, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/).
7372

app/market_price_app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
//| This source code is provided under the Apache 2.0 license --
33
//| and is provided AS IS with no warranty or guarantee of fit for purpose. --
44
//| See the project's LICENSE.md for details. --
5-
//| Copyright Refinitiv 2017. All rights reserved. --
5+
//| Copyright LSEG 2025. All rights reserved. --
66
//|-----------------------------------------------------------------------------
77

88

99
//******************************************************************************************/
1010
// The market_price_app.js is a main application file.
1111
// It handles all UI interactions.
12-
// It sends and receives messages with ws_workers.js file to communicate with Refinitiv Real-Time Advanced Distribution Server WebSocket.
12+
// It sends and receives messages with ws_workers.js file to communicate with Real-Time Advanced Distribution Server WebSocket.
1313

1414
// Author: Wasin Waeosri
1515
// Version: 1.0

app/ws_workers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
//| This source code is provided under the Apache 2.0 license --
33
//| and is provided AS IS with no warranty or guarantee of fit for purpose. --
44
//| See the project's LICENSE.md for details. --
5-
//| Copyright Refinitiv 2017. All rights reserved. --
5+
//| Copyright LSEG 2025. All rights reserved. --
66
//|-----------------------------------------------------------------------------
77

88

99
//******************************************************************************************/
1010
// The ws_workers.js is an application Web Workers file.
11-
// It handles all communications with Refinitiv Real-Time Advanced Distribution Server WebSocket.
11+
// It handles all communications with Real-Time Advanced Distribution Server WebSocket.
1212

1313
// Author: Wasin Waeosri
1414
// Version: 1.0

assetinfo.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "refinitiv_ws_worker",
2+
"name": "realtime_ws_worker",
33
"version": "1.0.0",
4-
"description": "The example project that provides how to implement JavaScript application with Web Workers for Refinitiv Real-time WebSocket API",
4+
"description": "The example project that provides how to implement JavaScript application with Web Workers for Real-time WebSocket API",
55
"main": "server.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/Refinitiv-API-Samples/Article.EWA.JavaScript.WebWorkersApp"
11+
"url": "https://github.com/LSEG-API-Samples/Article.EWA.JavaScript.WebWorkersApp"
1212
},
13-
"author": "Wasin Waeosri <wasin.waeosri@refinitiv.com> (https://developers.refinitiv.com/)",
14-
"license": "MIT",
13+
"author": "Wasin Waeosri <wasin.waeosri@lseg.com> (https://developers.lseg.com/)",
14+
"license": "Apache-2.0",
1515
"dependencies": {
1616
"express": "^4.17.1"
1717
}

0 commit comments

Comments
 (0)