Click or drag to resize
HttpServerWebSocketContext Class
Http Server WebSocket Context
Inheritance Hierarchy

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public class HttpServerWebSocketContext : HttpServerContextBase

The HttpServerWebSocketContext type exposes the following members.

Constructors
  NameDescription
Public methodHttpServerWebSocketContext
initialize new instance
Top
Methods
  NameDescription
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 propertyContinute
Get or set whether to continue receiving the message
Public propertyEncoding
get/or set encoding
(Inherited from HttpServerContextBase.)
Public propertyId
获取连接ID
Public propertyMethod
Get Method
(Inherited from HttpServerContextBase.)
Public propertyPassword
密码
(Inherited from HttpServerContextBase.)
Public propertyPath
Path
(Inherited from HttpServerContextBase.)
Public propertyProtocol
Protocol
(Inherited from HttpServerContextBase.)
Public propertyProtocolVersion
protocol version
(Inherited from HttpServerContextBase.)
Public propertyQueryString
QueryString
(Inherited from HttpServerContextBase.)
Public propertyRequestHeader
RequestHeader
(Inherited from HttpServerContextBase.)
Public propertyRequestType
Request Type
(Inherited from HttpServerContextBase.)
Public propertyResponseHeader
ResponseHeader
(Inherited from HttpServerContextBase.)
Public propertyServer
get server
(Inherited from HttpServerContextBase.)
Public propertySocket
Socket
Public propertyState
自定义状态
Public propertyTime
获取连接创建时间
Public propertyUrl
Url
(Inherited from HttpServerContextBase.)
Public propertyUserName
用户名
(Inherited from HttpServerContextBase.)
Top
Events
  NameDescription
Public eventDataReceived
获取或设置消息回调方法
Top
See Also

Reference