WsEnvelope

StockSharp.Ws

Lightweight envelope used to dispatch incoming WS frames without parsing the entire payload twice. Fields are populated only when present on the wire — hello frame has only ClientId, auth response has only Success/Error, data messages have only MessageType, client commands have only Type.

Properties

ClientId : string

Wire field clientId.

MessageType : string

Wire field messageType.

ReqId : string

Wire field reqId.

Success : bool?

Wire field success.

Type : string

Wire field type.