ServerComponentsEndpointOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定互動式伺服器元件的選項。
public class ServerComponentsEndpointOptions
type ServerComponentsEndpointOptions = class
Public Class ServerComponentsEndpointOptions
- 繼承
-
ServerComponentsEndpointOptions
建構函式
| 名稱 | Description |
|---|---|
| ServerComponentsEndpointOptions() |
設定互動式伺服器元件的選項。 |
屬性
| 名稱 | Description |
|---|---|
| ConfigureConnection |
取得或設定回調以設定 SignalR 連線所使用的 。HttpConnectionDispatcherOptions |
| ConfigureWebSocketAcceptContext |
取得或設定一個函式來設定 WebSocketAcceptContext 伺服器元件所使用的 websocket 連線。 |
| ContentSecurityFrameAncestorsPolicy |
在設定 ConfigureWebSocketAcceptContext 的時間內取得或設定 。HttpResponse |
| DisableWebSocketCompression |
取得或設定值,判斷是否應該停用 WebSocket 壓縮。 |