語言

QuicServerConnectionOptions 類別

定義

伺服器(入站) Quic 連線的選項。 這些選項由 提供。ConnectionOptionsCallback

public ref class QuicServerConnectionOptions sealed : System::Net::Quic::QuicConnectionOptions
public sealed class QuicServerConnectionOptions : System.Net.Quic.QuicConnectionOptions
type QuicServerConnectionOptions = class
    inherit QuicConnectionOptions
Public NotInheritable Class QuicServerConnectionOptions
Inherits QuicConnectionOptions
繼承
QuicServerConnectionOptions

建構函式

名稱 Description
QuicServerConnectionOptions()

初始化 QuicServerConnectionOptions 類別的新執行個體。

屬性

名稱 Description
DefaultCloseErrorCode

取得或設定連線被丟棄時使用的 CloseAsync(Int64, CancellationToken) 錯誤碼。

(繼承來源 QuicConnectionOptions)
DefaultStreamErrorCode

當串流需要在內部中止讀取或寫入端時,取得或設定錯誤碼。

(繼承來源 QuicConnectionOptions)
HandshakeTimeout

在握手必須完成的時間內取得或設定上限。 若握手未在此時間內完成,連線即告終止。

(繼承來源 QuicConnectionOptions)
IdleTimeout

取得或設定連線的閒置超時。 閒置逾時是指連線結束的時間。 預設 Zero 是指底層實作的預設閒置逾時。

(繼承來源 QuicConnectionOptions)
InitialReceiveWindowSizes

取得或設定連線及個別串流類型的初始接收視窗大小。

(繼承來源 QuicConnectionOptions)
KeepAliveInterval

取得或設定連線上 PING 封包的間隔。

(繼承來源 QuicConnectionOptions)
MaxInboundBidirectionalStreams

取得或設定遠端對等連接在開放連線上可產生的最大雙向並行串流數量。

(繼承來源 QuicConnectionOptions)
MaxInboundUnidirectionalStreams

取得或設定遠端對等連線在開放連線上能產生的最大同時單向串流數量。

(繼承來源 QuicConnectionOptions)
ServerAuthenticationOptions

接收或設定伺服器認證選項,以便在接受新連線時使用。

StreamCapacityCallback

當對端釋放新的串流限制時,會呼叫可選回調。 對應於接收MAX_STREAMS影格。

(繼承來源 QuicConnectionOptions)

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱