WsCommand

StockSharp.Ws

Result of deserializing a WebSocket client command.

Properties

Error
public string Error { get; set; }
value = wsCommand.Error
wsCommand.Error = value

Parse error text, or on success.

IsError
public bool IsError { get; }
value = wsCommand.IsError

Whether the frame failed to parse.

Message
public Message Message { get; set; }
value = wsCommand.Message
wsCommand.Message = value

Deserialized StockSharp message, or for an unknown command type.

ReqId
public string ReqId { get; set; }
value = wsCommand.ReqId
wsCommand.ReqId = value

Client-assigned request id for acknowledgement correlation.

Type
public string Type { get; set; }
value = wsCommand.Type
wsCommand.Type = value

Command type.