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

SenderExtension 类

发送者扩展类

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public static class SenderExtension
Inheritance
Object    SenderExtension

方法

SendTClient(TClient, ReadOnlyMemoryByte) 同步发送数据。
SendTClient(TClient, IListArraySegmentByte) 同步发送数据。
SendTClient(TClient, IRequestInfo) 同步发送请求信息。
SendTClient(TClient, String) 以UTF-8的编码同步发送字符串。
SendTClient(TClient, EndPoint, ReadOnlyMemoryByte) 同步发送数据到指定的端点。
SendTClient(TClient, String, ReadOnlyMemoryByte) 同步发送数据。
SendTClient(TClient, String, IRequestInfo) 同步发送请求方法
SendTClient(TClient, EndPoint, String) 以UTF-8的编码同步发送字符串。
SendTClient(TClient, String, String) 以UTF-8的编码同步发送字符串。
SendAsyncTClient(TClient, String) 以UTF-8的编码异步发送字符串。
SendAsyncTClient(TClient, EndPoint, String) 以UTF-8的编码异步发送字符串。
SendAsyncTClient(TClient, String, String) 以UTF-8的编码异步发送字符串。

参见