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: doc/index.html
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -105,12 +105,12 @@ <h2 id="2-use-streamdata-io-to-connect-to-your-api">2. Use streamdata.io to conn
105
105
<p>Create a <code>StreamDataEventSource</code> object into your JavaScript code.</p>
106
106
<pre><codeclass="lang-javascript"> var myEventSource = streamdataio.createEventSource("http://mysite.com/myJsonRestService",<app_token>);
107
107
</code></pre>
108
-
<p>The <code>StreamDataEventSource</code> is the entry point for establishing a data stream connection to the given URL.</p>
108
+
<p>The <code>StreamDataEventSource</code> is the entry point for establishing a data stream connection to the given URL.</p>
109
109
<p>It uses an application <strong>token</strong> to identify and authorize the stream connection to be established.</p>
110
110
<p>To get a valid <strong>token</strong>, please visit <ahref="http://streamdata.io" target="_blank">streamdata.io web site</a> to register and create an application.</p>
111
111
<p>It uses standard HTTP Server-Sent Events to get the data you required through streamdata.io proxy.</p>
112
112
<p>If your API requires specific headers, simply pass them as an array on the event source creation, and streamdata.io will forward them to your Information System.</p>
113
-
<p>An optional <code>headers</code> parameter can be passed to the <code>createEventSource</code> method.</p>
113
+
<p>An optional <code>headers</code> parameter can be passed to the <code>createEventSource</code> method.</p>
114
114
<p>It must be an array with the following structure:</p>
<p>streamdata.io proxy uses Transport Layer Security (TLS) as a default to encrypt messages while in transport across the Internet.</p>
211
+
<p>streamdata.io proxy uses Transport Layer Security (TLS) as a default to encrypt messages while in transport across the Internet.</p>
215
212
<p><strong>Recommendation</strong>:</p>
216
213
<p>Even if streamdata.io proxy can be used without TLS encryption, we strongly recommend to always use https (thus TLS) with applications using streamdata.io.</p>
217
214
<p>Using TLS ensures that client messages are protected when being sent to and from streamdata.io. This prevents intercepted messages from being viewed by unauthorized parties.</p>
@@ -361,7 +358,7 @@ <h2>
361
358
362
359
<spanclass="jsdoc-message">
363
360
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha5</a>
364
-
on Tue Jun 16 2015 12:08:29 GMT+0200 (CEST) using the <ahref="https://github.com/terryweiss/docstrap">DocStrap template</a>.
361
+
on Wed Jun 17 2015 11:08:43 GMT+0200 (CEST) using the <ahref="https://github.com/terryweiss/docstrap">DocStrap template</a>.
0 commit comments