SocketsHttpHandler.MaxResponseDrainSize 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 maximum amount of data that can be drained from responses in bytes.
public:
property int MaxResponseDrainSize { int get(); void set(int value); };
public int MaxResponseDrainSize { get; set; }
member this.MaxResponseDrainSize : int with get, set
Public Property MaxResponseDrainSize As Integer
Property Value
The maximum amount of data that can be drained from responses in bytes.
Remarks
Draining occurs when a request is cancelled or a response is disposed prior to fully reading the content. If the number of bytes drained exceeds this amount, the connection will be closed rather than reused.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.