ServerComponentsEndpointOptions 类

定义

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

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

构造函数

ServerComponentsEndpointOptions()

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

属性

ConfigureWebSocketAcceptContext

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

ContentSecurityFrameAncestorsPolicy

获取或设置设置 ConfigureWebSocketAcceptContext 时在 HttpResponse 中设置的 frame-ancestorsContent-Security-Policy

DisableWebSocketCompression

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

适用于