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

SenderExtension 类

发送者扩展类

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public static class SenderExtension
Inheritance
Object    SenderExtension

方法

SendTClient(TClient, ReadOnlyMemoryByte) 同步发送数据。
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的编码异步发送字符串。

参见