語言

ServerComponentsEndpointOptions 類別

定義

設定互動式伺服器元件的選項。

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

建構函式

名稱 Description
ServerComponentsEndpointOptions()

設定互動式伺服器元件的選項。

屬性

名稱 Description
ConfigureConnection

取得或設定回調以設定 SignalR 連線所使用的 。HttpConnectionDispatcherOptions

ConfigureWebSocketAcceptContext

取得或設定一個函式來設定 WebSocketAcceptContext 伺服器元件所使用的 websocket 連線。

ContentSecurityFrameAncestorsPolicy

在設定 ConfigureWebSocketAcceptContext 的時間內取得或設定 。HttpResponseframe-ancestorsContent-Security-Policy

DisableWebSocketCompression

取得或設定值,判斷是否應該停用 WebSocket 壓縮。

適用於