2022-07-10 22:34:13 +08:00
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License").
|
2022-01-02 00:23:39 +08:00
|
|
|
// You may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
// https://github.com/FastTunnel/FastTunnel/edit/v2/LICENSE
|
|
|
|
// Copyright (c) 2019 Gui.H
|
|
|
|
|
2021-08-01 18:32:32 +08:00
|
|
|
using System.Threading;
|
2022-07-10 22:34:13 +08:00
|
|
|
using System.Threading.Tasks;
|
2021-07-30 00:54:53 +08:00
|
|
|
|
|
|
|
namespace FastTunnel.Core.Client
|
|
|
|
{
|
|
|
|
public interface IFastTunnelClient
|
|
|
|
{
|
2022-07-10 22:34:13 +08:00
|
|
|
Task StartAsync(CancellationToken cancellationToken);
|
2021-08-07 23:54:48 +08:00
|
|
|
|
2022-07-10 22:34:13 +08:00
|
|
|
Task StopAsync(CancellationToken cancellationToken);
|
2021-07-30 00:54:53 +08:00
|
|
|
}
|
|
|
|
}
|