Skip to content

Commit b82912f

Browse files
author
Wasin Waeosri
committed
change logs:
1. Change all 'Id' Keys to 'ID' to match the ADS 3.2 WebSocket spec 2. Update URL for WebSocket API in Developer porta
1 parent 2a3d257 commit b82912f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Elektron WebSocket API with Web Workers Example
22
## Overview
33

4-
[Elektron WebSocket API](https://developers.thomsonreuters.com/elektron/websocket-api-early-access) 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+
[Elektron WebSocket API](https://developers.thomsonreuters.com/elektron/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.
55

66
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).
77

@@ -34,7 +34,7 @@ The web application contains the following example files and folder:
3434

3535
## References
3636
For further details, please check out the following resources:
37-
* [Thomson Reuters Elektron WebSocket API page](https://developers.thomsonreuters.com/elektron/websocket-api-early-access) on the [Thomson Reuters Developer Community](https://developers.thomsonreuters.com/) web site.
37+
* [Thomson Reuters Elektron WebSocket API page](https://developers.thomsonreuters.com/elektron/websocket-api) on the [Thomson Reuters Developer Community](https://developers.thomsonreuters.com/) web site.
3838
* [Mozilla Developer Network: Web Workers API page](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API).
3939
* [Google HTML5 Rocks: The Basics of Web Workers page](https://www.html5rocks.com/en/tutorials/workers/basics/)
4040

app/market_price_app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
function sendLoginrequest(username) {
124124
//Create Login request message
125125
let loginMsg = {
126-
'Id': loginID,
126+
'ID': loginID,
127127
'Domain': 'Login',
128128
'Key': {
129129
'Elements': {
@@ -155,7 +155,7 @@
155155
}
156156
//create Market Price request message
157157
let itemrequestMsg = {
158-
'Id': itemID,
158+
'ID': itemID,
159159
'Key': {
160160
'Name': itemname,
161161
'Service': service
@@ -177,7 +177,7 @@
177177
function sendItemCloserequest() {
178178

179179
let closeitemrequestMsg = {
180-
'Id': itemID,
180+
'ID': itemID,
181181
'Type': 'Close'
182182
};
183183

@@ -212,7 +212,7 @@
212212
function sendLoginCloserequest() {
213213
let closeloginrequestMsg = {
214214
'Domain': 'Login',
215-
'Id': loginID,
215+
'ID': loginID,
216216
'Type': 'Close'
217217
};
218218

0 commit comments

Comments
 (0)