共用方式為


HttpConnectionFactory 類別

定義

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

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

建構函式

HttpConnectionFactory(IOptions<HttpConnectionOptions>, ILoggerFactory)

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

方法

ConnectAsync(EndPoint, CancellationToken)

建立 與 UriEndPoint 的新連接。

適用於