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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
78.8k 250 52 74

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
1.9k 7 10 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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