ConnectionMonitorHttpConfiguration Class
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.
Describes the HTTP configuration.
public class ConnectionMonitorHttpConfiguration
type ConnectionMonitorHttpConfiguration = class
Public Class ConnectionMonitorHttpConfiguration
- Inheritance
-
ConnectionMonitorHttpConfiguration
Constructors
ConnectionMonitorHttpConfiguration() |
Initializes a new instance of the ConnectionMonitorHttpConfiguration class. |
ConnectionMonitorHttpConfiguration(Nullable<Int32>, String, String, IList<HTTPHeader>, IList<String>, Nullable<Boolean>) |
Initializes a new instance of the ConnectionMonitorHttpConfiguration class. |
Properties
Method |
Gets or sets the HTTP method to use. Possible values include: 'Get', 'Post' |
Path |
Gets or sets the path component of the URI. For instance, "/dir1/dir2". |
Port |
Gets or sets the port to connect to. |
PreferHTTPS |
Gets or sets value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. |
RequestHeaders |
Gets or sets the HTTP headers to transmit with the request. |
ValidStatusCodeRanges |
Gets or sets HTTP status codes to consider successful. For instance, "2xx,301-304,418". |
Methods
Validate() |
Validate the object. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應