ServerComponentsEndpointOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于配置交互式服务器组件的选项。
public class ServerComponentsEndpointOptions
type ServerComponentsEndpointOptions = class
Public Class ServerComponentsEndpointOptions
- 继承
-
ServerComponentsEndpointOptions
构造函数
ServerComponentsEndpointOptions() |
用于配置交互式服务器组件的选项。 |
属性
ConfigureWebSocketAcceptContext |
获取或设置一个函数,用于为服务器组件使用的 Websocket 连接配置 WebSocketAcceptContext。 |
ContentSecurityFrameAncestorsPolicy |
获取或设置设置 ConfigureWebSocketAcceptContext 时在 HttpResponse 中设置的 |
DisableWebSocketCompression |
获取或设置一个值,该值确定是否应禁用 WebSocket 压缩。 |