ListenOptions.ConnectionAdapters 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 List<T> 允许截获和转换每个连接的 Stream 。
由 UseHttps()
和 UseConnectionLogging(ListenOptions) 扩展方法配置。
public:
property System::Collections::Generic::List<Microsoft::AspNetCore::Server::Kestrel::Core::Adapter::Internal::IConnectionAdapter ^> ^ ConnectionAdapters { System::Collections::Generic::List<Microsoft::AspNetCore::Server::Kestrel::Core::Adapter::Internal::IConnectionAdapter ^> ^ get(); };
public System.Collections.Generic.List<Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal.IConnectionAdapter> ConnectionAdapters { get; }
member this.ConnectionAdapters : System.Collections.Generic.List<Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal.IConnectionAdapter>
Public ReadOnly Property ConnectionAdapters As List(Of IConnectionAdapter)
属性值
List<Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal.IConnectionAdapter>
注解
默认为空。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈