ホーム › Networking.HttpServer › HTTP_503_RESPONSE_VERBOSITY
HTTP_503_RESPONSE_VERBOSITY
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| Http503ResponseVerbosityBasic | 0 | 0x0 | 503 応答は送信されず、接続がリセットされます。 これは HTTP Server API の既定の動作です。 |
| Http503ResponseVerbosityLimited | 1 | 0x1 | HTTP Server API は、"Service Unavailable" という理由フレーズを含む 503 応答を送信します。HTTP Server は応答の送信後に TCP 接続を閉じるため、クライアントは再接続する必要があります。 |
| Http503ResponseVerbosityFull | 2 | 0x2 | HTTP Server API は、詳細な理由フレーズを含む 503 応答を送信します。HTTP Server は応答の送信後に TCP 接続を閉じるため、クライアントは再接続する必要があります。 |
公式ドキュメント
HTTP_503_RESPONSE_VERBOSITY 列挙型は、503 (サービス利用不可) エラー応答の詳細レベルを定義します。
この構造体は、要求キューに対して HttpServer503ResponseProperty を設定または照会するときに使用する必要があります。
解説(Remarks)
この列挙型は、503 応答の詳細レベルを設定および照会するために HttpSetRequestQueueProperty および HttpQueryrequestQueueProperty で使用されます。Property パラメーターが HttpServer503VerbosityProperty の場合、pPropertyInformation パラメーターは HTTP_503_RESPONSE_VERBOSITY 列挙型のメンバーを指します。
この列挙型は、503 (Service Unavailable) エラー応答を送信するときの要求キューの詳細レベルを定義します。HTTP_503_RESPONSE_VERBOSITY 列挙型を使用して設定した 503 応答レベルは、HTTP Server API が内部的に生成するエラー応答にのみ影響することに注意してください。
注意 安全でない可能性のあるクライアントにサービスの状態に関する情報を開示すると、セキュリティ上のリスクが生じる可能性があります。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum HTTP_503_RESPONSE_VERBOSITY : int {
Http503ResponseVerbosityBasic = 0,
Http503ResponseVerbosityLimited = 1,
Http503ResponseVerbosityFull = 2
} HTTP_503_RESPONSE_VERBOSITY;public enum HTTP_503_RESPONSE_VERBOSITY : int
{
Http503ResponseVerbosityBasic = 0,
Http503ResponseVerbosityLimited = 1,
Http503ResponseVerbosityFull = 2,
}Public Enum HTTP_503_RESPONSE_VERBOSITY As Integer
Http503ResponseVerbosityBasic = 0
Http503ResponseVerbosityLimited = 1
Http503ResponseVerbosityFull = 2
End Enumimport enum
class HTTP_503_RESPONSE_VERBOSITY(enum.IntEnum):
Http503ResponseVerbosityBasic = 0
Http503ResponseVerbosityLimited = 1
Http503ResponseVerbosityFull = 2// HTTP_503_RESPONSE_VERBOSITY
pub const Http503ResponseVerbosityBasic: i32 = 0;
pub const Http503ResponseVerbosityLimited: i32 = 1;
pub const Http503ResponseVerbosityFull: i32 = 2;// HTTP_503_RESPONSE_VERBOSITY
const (
Http503ResponseVerbosityBasic int32 = 0
Http503ResponseVerbosityLimited int32 = 1
Http503ResponseVerbosityFull int32 = 2
)const
Http503ResponseVerbosityBasic = 0;
Http503ResponseVerbosityLimited = 1;
Http503ResponseVerbosityFull = 2;// HTTP_503_RESPONSE_VERBOSITY
pub const Http503ResponseVerbosityBasic: i32 = 0;
pub const Http503ResponseVerbosityLimited: i32 = 1;
pub const Http503ResponseVerbosityFull: i32 = 2;const
Http503ResponseVerbosityBasic* = 0
Http503ResponseVerbosityLimited* = 1
Http503ResponseVerbosityFull* = 2enum HTTP_503_RESPONSE_VERBOSITY : int {
Http503ResponseVerbosityBasic = 0,
Http503ResponseVerbosityLimited = 1,
Http503ResponseVerbosityFull = 2,
}#define global Http503ResponseVerbosityBasic 0x0
#define global Http503ResponseVerbosityLimited 0x1
#define global Http503ResponseVerbosityFull 0x2