通过


ServerComponentsEndpointOptions 类

定义

用于配置交互式服务器组件的选项。

public class ServerComponentsEndpointOptions
type ServerComponentsEndpointOptions = class
Public Class ServerComponentsEndpointOptions
继承
ServerComponentsEndpointOptions

构造函数

名称 说明
ServerComponentsEndpointOptions()

用于配置交互式服务器组件的选项。

属性

名称 说明
ConfigureConnection

获取或设置用于配置 HttpConnectionDispatcherOptions SignalR 连接的回调。

ConfigureWebSocketAcceptContext

获取或设置一个函数,用于配置 WebSocketAcceptContext 服务器组件使用的 Websocket 连接。

ContentSecurityFrameAncestorsPolicy

获取或设置frame-ancestorsContent-Security-Policy在何时ConfigureWebSocketAcceptContext设置的HttpResponse要设置。

DisableWebSocketCompression

获取或设置一个值,该值确定是否应禁用 WebSocket 压缩。

适用于