SocketsHttpHandler.KeepAlivePingTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the keep alive ping timeout.
public:
property TimeSpan KeepAlivePingTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan KeepAlivePingTimeout { get; set; }
member this.KeepAlivePingTimeout : TimeSpan with get, set
Public Property KeepAlivePingTimeout As TimeSpan
Property Value
The keep alive ping timeout. Defaults to 20 seconds.
Remarks
Keep alive pings are sent when a period of inactivity exceeds the configured KeepAlivePingDelay value. The client will close the connection if it doesn't receive any frames within the timeout.
Timeout must be greater than or equal to 1 second. Set to InfiniteTimeSpan to disable the keep alive ping timeout.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για