System::Net::Http::Headers::HttpRequestHeaders クラス

HttpRequestHeaders class

‘Request’ ヘッダーのコレクションを表します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してインスタンスを作成しないでください。そうしないと実行時エラーやアサーション障害が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数の引数として渡すようにしてください。

class HttpRequestHeaders : public System::Net::Http::Headers::HttpHeaders

メソッド

メソッド説明
AddHeaders(System::SharedPtr<HttpHeaders>) override指定された HttpHeaders-class インスタンスを現在のものと連結します。
static AddKnownHeaders(System::SharedPtr<Collections::Generic::HashSet<String>>)既知のヘッダーを指定されたコレクションに追加します。
get_Accept()RTTI 情報。
get_AcceptCharset()‘Accept-Charset’ ヘッダーの値を返します。
get_AcceptEncoding()‘Accept-Encoding’ ヘッダーの値を返します。
get_AcceptLanguage()‘Accept-Language’ ヘッダーの値を返します。
get_Authorization()‘Authorization’ ヘッダーの値を取得します。
get_CacheControl()‘Cache-Control’ ヘッダーの値を取得します。
get_Connection()‘Connection’ ヘッダーの値を返します。
get_ConnectionClose()‘Connection’ ヘッダーの値に ‘Close’ が含まれているかどうかを示す値を取得します。
get_Date()‘Date’ ヘッダーの値を取得します。
get_Expect()‘Expect’ ヘッダーの値を返します。
get_ExpectContinue()‘Expect’ ヘッダーの値に ‘Continue’ が含まれているかどうかを示す値を取得します。
get_From()‘From’ ヘッダーの値を取得します。
get_Host()‘Host’ ヘッダーの値を取得します。
get_IfMatch()‘If-Match’ ヘッダーの値を返します。
get_IfModifiedSince()‘If-Modified-Since’ ヘッダーの値を取得します。
get_IfNoneMatch()‘If-None-Match’ ヘッダーの値を返します。
get_IfRange()‘If-Range’ ヘッダーの値を取得します。
get_IfUnmodifiedSince()‘If-Unmodified-Since’ ヘッダーの値を取得します。
get_MaxForwards()‘Max-Forwards’ ヘッダーの値を取得します。
get_Pragma()‘Pragma’ ヘッダーの値を返します。
get_ProxyAuthorization()‘Proxy-Authorization’ ヘッダーの値を取得します。
get_Range()‘Range’ ヘッダーの値を取得します。
get_Referrer()‘Referer’ ヘッダーの値を取得します。
get_TE()‘TE’ ヘッダーの値を返します。
get_Trailer()‘Trailer’ ヘッダーの値を返します。
get_TransferEncoding()‘Transfer-Encoding’ ヘッダーの値を返します。
get_TransferEncodingChunked()‘Transfer-Encoding’ ヘッダーの値に ‘Chunked’ が含まれているかを示す値を取得します。
get_Upgrade()‘Upgrade’ ヘッダーの値を返します。
get_UserAgent()‘User-Agent’ ヘッダーの値を返します。
get_Via()‘Via’ ヘッダーの値を返します。
get_Warning()‘Warning’ ヘッダーの値を返します。
HttpRequestHeaders()新しいインスタンスを構築します。
set_Authorization(System::SharedPtr<AuthenticationHeaderValue>)‘Authorization’ ヘッダーの値を設定します。
set_CacheControl(System::SharedPtr<CacheControlHeaderValue>)‘Cache-Control’ ヘッダーの値を設定します。
set_ConnectionClose(Nullable<bool>)‘Connection’ ヘッダーの値に ‘Close’ が含まれているかを示す値を設定します。
set_Date(Nullable<DateTimeOffset>)‘Date’ ヘッダーの値を設定します。
set_ExpectContinue(Nullable<bool>)‘Expect’ ヘッダーの値に ‘Continue’ が含まれているかを示す値を設定します。
set_From(String)‘From’ ヘッダーの値を設定します。
set_Host(String)‘Host’ ヘッダーの値を設定します。
set_IfModifiedSince(Nullable<DateTimeOffset>)‘If-Modified-Since’ ヘッダーの値を設定します。
set_IfRange(System::SharedPtr<RangeConditionHeaderValue>)‘If-Range’ ヘッダーの値を設定します。
set_IfUnmodifiedSince(Nullable<DateTimeOffset>)‘If-Unmodified-Since’ ヘッダーの値を設定します。
set_MaxForwards(Nullable<int32_t>)‘Max-Forwards’ ヘッダーの値を設定します。
set_ProxyAuthorization(System::SharedPtr<AuthenticationHeaderValue>)‘Proxy-Authorization’ ヘッダーの値を設定します。
set_Range(System::SharedPtr<RangeHeaderValue>)‘Range’ ヘッダーの値を設定します。
set_Referrer(System::SharedPtr<Uri>)‘Referer’ ヘッダーの値を設定します。
set_TransferEncodingChunked(Nullable<bool>)‘Transfer-Encoding’ ヘッダーの値に ‘Chunked’ が含まれているかを示す値を設定します。

参照