File: Internal\ITransport.cs
Web Access
Project: src\src\SignalR\clients\csharp\Http.Connections.Client\src\Microsoft.AspNetCore.Http.Connections.Client.csproj (Microsoft.AspNetCore.Http.Connections.Client)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Connections;
 
namespace Microsoft.AspNetCore.Http.Connections.Client.Internal;
 
internal interface ITransport : IDuplexPipe
{
    Task StartAsync(Uri url, TransferFormat transferFormat, CancellationToken cancellationToken = default);
    Task StopAsync();
}