For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
38.1k 71 35 53

What are the message classifications or types supported by WebSocket API? (from WebSocket API Webinar Nov 29)

What are the message classifications or types supported by WebSocket API?

treprdp-apiwebsocketsrrto
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
1.9k 6 9 16

WebSocket API supports the following types:
• Ack - used to acknowledge POSTS
• Close - used to close an open stream
• Generic - bi-direction generic message with no specific type
• Post - push content into the TREP cache
• Refresh - initial response
• Request - client side request for data
• Status - server status messages, i.e. login failed, item not found, etc
• Update - reflects changes in the market
• Error - invalid usage when making requests

Refer to the "Message" section within the documentation for a complete list.

This question was first asked in an Introduction to the Elektron WebSocket API webinar (29th of Nov). Please see here: Introduction to the Elektron WebSocket API

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea