Click or drag to resize
HttpServer Methods

The HttpServer type exposes the following members.

Methods
  NameDescription
Public methodDispose
Dispose
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.)
Public methodGetWebSocket
获取指定id websocket,未找到则返回null
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodStart
start
Public methodStop
Stop
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Public methodWebSocketDisconnect
断开连接
Public methodWebSocketDisconnectAll
断开所有连接
Public methodWebSocketForEach
遍历当前具有的WebSocket连接
Top
See Also