You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Copyright 2017 Thomson Reuters
1
+
Copyright 2017 Refinitiv
2
2
3
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:
Copy file name to clipboardExpand all lines: README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
# Elektron WebSocket API with Web Workers Example
1
+
# Refinitiv Real-time WebSocket API with Web Workers Example
2
2
## Overview
3
3
4
-
[Elektron WebSocket API](https://developers.thomsonreuters.com/websocket-api) enables easy integration into a multitude of client technology environments such as scripting and web. This API runs directly on your TREP infrastructure or the Thomson Reuters platform and presents data in an open (JSON) readable format. The API supports all Thomson Reuters Elektron data models and can be integrated into multiple client technology standards e.g. Python, R, .Net etc.
4
+
[Refinitiv Real-time WebSocket API](https://developers.refinitiv.com/elektron/websocket-api)(formerly known as Elektron WebSocket API) 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.
5
5
6
6
The web browsers JavaScript runtime is a single-threaded environment by default. However, the HTML standard lets developers implement multi threads JavaScript application in web browser by introducing the [Web Workers](https://html.spec.whatwg.org/multipage/workers.html) feature that lets web browsers run JavaScripts in a main thread and a background thread (workers thread).
7
7
8
-
This example shows how to implement the Elektron WebSocket API with JavaScript web application with Web Workers. It allows the Web Workers thread to handle the connection logic with ADS WebSocket server while the main thread handles the UI interaction events and displaying data.
8
+
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 ADS server while the main thread handles the UI interaction events and displaying data.
9
9
10
-
There are two types of the 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 Elektron WebSocket API with JavaScript web browser application with Dedicated Workers.
10
+
There are two types of the 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.
11
11
12
-
*Note: The initial release of this API is for deployed TREP customers only (i.e. to use it you will need an installed version of TREP 3.2).
12
+
*Note: The initial release of this API is for deployed ADS customers only (i.e. to use it you will need an installed version of TREP 3.2.1 and above).
13
13
14
14
## Supported Web Browsers
15
15
The example supports Chrome, Firefox and IE11 (based on the WebSocket and Web Workers browser supported platform).
@@ -34,32 +34,31 @@ The web application contains the following example files and folder:
34
34
4. css/cover.css: The application CSS file
35
35
5. libs/jquery-3.2.1.min.js: jQuery library file
36
36
6. bootstrap/css, bootstarp/fonts and bootstrap/js folders: The folders for Bootstrap CSS and libraries files
37
-
7. node_modules folder: Folder for Node.js and Express.js modules for web server running
38
-
8. server.js: A simple web server application
39
-
9. package.json: The Project npm dependencies file.
37
+
7. server.js: A simple web server application
38
+
8. package.json: The Project npm dependencies file.
40
39
41
40
## How to run this example
42
41
1. Unzip or download the example project folder into a directory of your choice
43
42
2. Run ```$> npm install``` in the command prompt to install all the dependencies required to run the sample in a subdirectory called *node_modules/*.
3. If the machine is behind a proxy server, you need to configure Node.js uses proxy instead of a direct HTTP connection via the following command in command prompt: ```set https_proxy=http://<proxy.server>:<port>```
48
47
4. Run ```$> node server.js``` in the command prompt to start the web server at HTTP port 8080
For further details, please check out the following resources:
59
-
*[Thomson Reuters Elektron WebSocket API page](https://developers.thomsonreuters.com/websocket-api) on the [Thomson Reuters Developer Community](https://developers.thomsonreuters.com/) web site.
58
+
*[Refinitiv Real-time WebSocket API page](https://developers.refinitiv.com/websocket-api) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.
60
59
*[Developer Webinar Recording: Introduction to Electron Websocket API](https://www.youtube.com/watch?v=CDKWMsIQfaw)
61
60
*[Mozilla Developer Network: Web Workers API page](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API).
62
61
*[Google HTML5 Rocks: The Basics of Web Workers page](https://www.html5rocks.com/en/tutorials/workers/basics/)
63
62
*[Mozilla Developer Network: WebSocket API page](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)
64
63
65
-
For any question related to this article or Elektron WebSocket API page, please use the Developer Community [Q&A Forum](https://community.developers.thomsonreuters.com/).
64
+
For any question related to this article or Refinitiv Real-time WebSocket API page, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/).
0 commit comments