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的新连接。

适用于