public interface IRelayClient : IDisposable,
IClosableClientPublic Interface IRelayClient
Inherits IDisposable, IClosableClienttype IRelayClient =
interface
interface IDisposable
interface IClosableClient
end| ClosedToken |
获取一个 CancellationToken,用于指示客户端是否已关闭。
(继承自 IClosableClient。) |
| Config | 配置信息 |
| ConnectionCount | 当前连接数量 |
| CloseAsync |
关闭客户端。
(继承自 IClosableClient。) |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (继承自 IDisposable。) |
| SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |