C# Class QuicDotNet.QuicClient

Inheritance: IDisposable
显示文件 Open project: seanmcelroy/QuicDotNet

Public Methods

Method Description
ConnectAsync ( string hostname, int port, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

ConnectAsync() public method

public ConnectAsync ( string hostname, int port, CancellationToken cancellationToken = default(CancellationToken) ) : Task
hostname string
port int
cancellationToken System.Threading.CancellationToken
return Task

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void