Click or drag to resize
WebSocketClient Class
WebSocket 客户端
Inheritance Hierarchy
SystemObject
  AdfWebSocketClient

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public class WebSocketClient : IDisposable

The WebSocketClient type exposes the following members.

Constructors
  NameDescription
Public methodWebSocketClient(String, Int32)
以指定主机初始化实例
Public methodWebSocketClient(String, Int32, String)
以指定主机初始化实例
Top
Methods
  NameDescription
Public methodClose
资源释放
Public methodConnection
连接
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodSend
消息发送
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyConnectioned
获取是否已连接至主机
Public propertyEncoding
获取或设置字符解释编码,默认UTF8
Public propertyHeader
获取或设置请求头
Public propertyHost
主机
Public propertyLocalEndPoint
获取本地端口
Public propertyPath
获取当前连接请求路径
Public propertyPort
端口
Public propertyResponseHeader
获取响应头
Top
Events
  NameDescription
Public eventOnClose
关闭事件
Public eventOnMessage
消息事件
Top
See Also

Reference