WsEnvelope
StockSharp.Ws
用于发送入射WS帧而未分解整个有效载荷两次的轻量级信封. Fields仅在有线时才被覆盖——你好帧只有ClientId,Auth响应只有成功/错误,数据消息只有MessageType,客户端命令只有类型.
属性
ClientId
public string ClientId { get; set; }
value = wsEnvelope.ClientId
wsEnvelope.ClientId = value
Wire field clientId.
MessageType
public string MessageType { get; set; }
value = wsEnvelope.MessageType
wsEnvelope.MessageType = value
Wire field messageType.
ReqId
public string ReqId { get; set; }
value = wsEnvelope.ReqId
wsEnvelope.ReqId = value
Wire field reqId.
Success
public bool? Success { get; set; }
value = wsEnvelope.Success
wsEnvelope.Success = value
线地成功.