C# Class Halibut.Transport.TcpClientExtensions

显示文件 Open project: OctopusDeploy/Halibut

Public Methods

Method Description
ConnectWithTimeout ( this client, Uri remoteUri, System.TimeSpan timeout ) : void
ConnectWithTimeout ( this client, string host, int port, System.TimeSpan timeout ) : void

Method Details

ConnectWithTimeout() public static method

public static ConnectWithTimeout ( this client, Uri remoteUri, System.TimeSpan timeout ) : void
client this
remoteUri System.Uri
timeout System.TimeSpan
return void

ConnectWithTimeout() public static method

public static ConnectWithTimeout ( this client, string host, int port, System.TimeSpan timeout ) : void
client this
host string
port int
timeout System.TimeSpan
return void