public readonly struct WebSocketMessage : IDisposable
Public Structure WebSocketMessage
Implements IDisposable
[<SealedAttribute>]
type WebSocketMessage =
struct
inherit ValueType
interface IDisposable
end
WebSocketMessage | 初始化WebSocketMessage结构体的新实例。 |
Opcode | 获取消息的数据类型。 |
PayloadData | 获取消息的负载数据。 |
Dispose | 释放消息资源。 |
Equals | Indicates whether this instance and a specified object are equal. (继承自 ValueType。) |
GetHashCode | Returns the hash code for this instance. (继承自 ValueType。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
ToString | Returns the fully qualified type name of this instance. (继承自 ValueType。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |