Lean  $LEAN_TAG$
QuantConnect.Brokerages.WebSocketMessage Class Reference

Defines a message received at a web socket More...

Public Member Functions

 WebSocketMessage (IWebSocket webSocket, WebSocketClientWrapper.MessageData data)
 Initializes a new instance of the WebSocketMessage class More...
 

Properties

IWebSocket WebSocket [get]
 Gets the sender websocket instance More...
 
WebSocketClientWrapper.MessageData Data [get]
 Gets the raw message data as text More...
 

Detailed Description

Defines a message received at a web socket

Definition at line 21 of file WebSocketMessage.cs.

Constructor & Destructor Documentation

◆ WebSocketMessage()

QuantConnect.Brokerages.WebSocketMessage.WebSocketMessage ( IWebSocket  webSocket,
WebSocketClientWrapper.MessageData  data 
)

Initializes a new instance of the WebSocketMessage class

Parameters
webSocketThe sender websocket instance
dataThe message data

Definition at line 38 of file WebSocketMessage.cs.

Property Documentation

◆ WebSocket

IWebSocket QuantConnect.Brokerages.WebSocketMessage.WebSocket
get

Gets the sender websocket instance

Definition at line 26 of file WebSocketMessage.cs.

◆ Data

WebSocketClientWrapper.MessageData QuantConnect.Brokerages.WebSocketMessage.Data
get

Gets the raw message data as text

Definition at line 31 of file WebSocketMessage.cs.


The documentation for this class was generated from the following file: