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

UdpDataHandlingAdapterSendInputAsync(EndPoint, IRequestInfo, CancellationToken) 方法

发送数据的切入点,该方法由框架自动调用。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public Task SendInputAsync(
	EndPoint endPoint,
	IRequestInfo requestInfo,
	CancellationToken cancellationToken
)

参数

endPoint  EndPoint

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

requestInfo  IRequestInfo

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

cancellationToken  CancellationToken
可取消令箭

返回值

Task

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

参见