ServerComponentsEndpointOptions.ConfigureConnection 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定回調以設定 SignalR 連線所使用的 。HttpConnectionDispatcherOptions
public Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions>? ConfigureConnection { get; set; }
member this.ConfigureConnection : Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> with get, set
Public Property ConfigureConnection As Action(Of HttpConnectionDispatcherOptions)
屬性值
備註
這允許配置如 CloseOnAuthenticationExpiration、傳輸選項、授權資料及其他連線層級設定。