websocket connection (server, port)

Created at 14 Nov 2018, 10:28
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HS

hsbcstor

Joined 06.11.2018

websocket connection (server, port)
14 Nov 2018, 10:28


Hi Spotware,

The current dotnet samples seem to be connecting using TCP SSL socket.  However browsers do not permit websites to use raw sockets.

Is there an available Websocket connection for open API (v2) testing?  Will they be using protobuf or json communications?

Thank you.


@hsbcstor
Replies

PanagiotisCharalampous
14 Nov 2018, 10:34

Hi hsbcstor,

Websockets are not supported at the moment. The protocols used for v1.0 are JSON and Protobuf. v2.0 will be purely Protobuf.

Best Regards,

Panagiotis


@PanagiotisCharalampous