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

UdpDataHandlingAdapterPreviewSendAsync(EndPoint, IRequestInfo) 方法

当发送数据前预先处理数据

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected virtual Task PreviewSendAsync(
	EndPoint endPoint,
	IRequestInfo requestInfo
)

参数

endPoint  EndPoint

[缺少 "M:TouchSocket.Sockets.UdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,TouchSocket.Core.IRequestInfo)" 的 <param name="endPoint"/> 文档]

requestInfo  IRequestInfo

[缺少 "M:TouchSocket.Sockets.UdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,TouchSocket.Core.IRequestInfo)" 的 <param name="requestInfo"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.Sockets.UdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,TouchSocket.Core.IRequestInfo)" 的 <returns> 文档]

参见