Interface ITcpClient
Wrapper interface for Socket. Provides the socket for socket frame handler class.
public interface ITcpClient : IDisposable
- Inherited Members
Remarks
Contains all methods that are currently in use in rabbitmq client.
Properties
Client
Socket Client { get; }
Property Value
Connected
bool Connected { get; }
Property Value
ReceiveTimeout
TimeSpan ReceiveTimeout { get; set; }
Property Value
Methods
Close()
void Close()
ConnectAsync(IPAddress, int, CancellationToken)
Task ConnectAsync(IPAddress host, int port, CancellationToken cancellationToken = default)
Parameters
host
IPAddressport
intcancellationToken
CancellationToken
Returns
GetStream()
NetworkStream GetStream()