一款简单易用的基础网络通讯组件库。

TcpSessionClientOnTcpClosing 方法

即将断开连接(仅主动断开时有效)。

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected override Task OnTcpClosing(
	ClosingEventArgs e
)

参数

e  ClosingEventArgs
有关断开连接的事件参数

返回值

Task

[缺少 "M:TouchSocket.Sockets.TcpSessionClient.OnTcpClosing(TouchSocket.Sockets.ClosingEventArgs)" 的 <returns> 文档]

参见