共用方式為


HttpConnectionFactory 類別

定義

用於建立 HttpConnection 實例的處理站。

public ref class HttpConnectionFactory : Microsoft::AspNetCore::SignalR::Client::IConnectionFactory
public class HttpConnectionFactory : Microsoft.AspNetCore.SignalR.Client.IConnectionFactory
type HttpConnectionFactory = class
    interface IConnectionFactory
Public Class HttpConnectionFactory
Implements IConnectionFactory
繼承
HttpConnectionFactory
實作

建構函式

HttpConnectionFactory(IOptions<HttpConnectionOptions>, ILoggerFactory)

初始化 HttpConnectionFactory 類別的新執行個體。

方法

ConnectAsync(TransferFormat, CancellationToken)

使用指定的 TransferFormat 建立與 SignalR 伺服器的新連線。

DisposeAsync(ConnectionContext)

處置指定的 ConnectionContext

適用於