ITcpTunnel.CloseAsync()

DESCRIPTION

Close a tunnel without blocking.

DECLARATION

System.Threading.Tasks.Task CloseAsync()

ERRORS

  • T:Nabto.Edge.Client.NabtoException: Thrown with error code STOPPED if the tunnel is stopped.
  • T:Nabto.Edge.Client.NabtoException: Thrown with error code INVALID_STATE if the tunnel has not been opened yet.

RETURNS

The Task that will complete once the tunnel is closed.