System::Net::Http::Headers::HttpResponseHeaders 클래스

HttpResponseHeaders class

‘Response’ 헤더의 컬렉션을 나타냅니다. 이 클래스의 객체는 System::MakeObject() 함수를 사용하여 할당해야 합니다. 스택에 직접 생성하거나 operator new를 사용하여 인스턴스를 만들면 런타임 오류 및/또는 어설션 오류가 발생합니다. 항상 이 클래스를 System::SmartPtr 포인터로 감싸고 해당 포인터를 함수 인수로 전달하도록 사용하십시오.

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

메서드

메서드설명
AddHeaders(System::SharedPtr<HttpHeaders>) override지정된 HttpHeaders 클래스 인스턴스를 현재 인스턴스와 연결합니다.
static AddKnownHeaders(System::SharedPtr<Collections::Generic::HashSet<String>>)알려진 헤더를 지정된 컬렉션에 추가합니다.
get_AcceptRanges()RTTI 정보.
get_Age()‘Age’ 헤더의 값을 가져옵니다.
get_CacheControl()‘Cache-Control’ 헤더의 값을 가져옵니다.
get_Connection()‘Connection’ 헤더의 값을 반환합니다.
get_ConnectionClose()‘Connection’ 헤더 값에 ‘Close’가 포함되어 있는지 나타내는 값을 가져옵니다.
get_Date()‘Date’ 헤더의 값을 가져옵니다.
get_ETag()‘ETag’ 헤더의 값을 가져옵니다.
get_Location()‘Location’ 헤더의 값을 가져옵니다.
get_Pragma()‘Pragma’ 헤더의 값을 반환합니다.
get_ProxyAuthenticate()‘Proxy-Authenticate’ 헤더의 값을 반환합니다.
get_RetryAfter()‘Retry-After’ 헤더의 값을 가져옵니다.
get_Server()‘Server’ 헤더의 값을 반환합니다.
get_Trailer()‘Trailer’ 헤더의 값을 반환합니다.
get_TransferEncoding()‘Transfer-Encoding’ 헤더의 값을 반환합니다.
get_TransferEncodingChunked()‘Transfer-Encoding’ 헤더 값에 ‘Chunked’가 포함되어 있는지 나타내는 값을 가져옵니다.
get_Upgrade()‘Upgrade’ 헤더의 값을 반환합니다.
get_Vary()‘Vary’ 헤더의 값을 반환합니다.
get_Via()‘Via’ 헤더의 값을 반환합니다.
get_Warning()‘Warning’ 헤더의 값을 반환합니다.
get_WwwAuthenticate()‘WWW-Authenticate’ 헤더의 값을 반환합니다.
HttpResponseHeaders()새 인스턴스를 생성합니다.
set_Age(Nullable<TimeSpan>)‘Age’ 헤더의 값을 설정합니다.
set_CacheControl(System::SharedPtr<CacheControlHeaderValue>)‘Cache-Control’ 헤더의 값을 설정합니다.
set_ConnectionClose(Nullable<bool>)‘Connection’ 헤더 값에 ‘Close’가 포함되어 있는지 나타내는 값을 설정합니다.
set_Date(Nullable<DateTimeOffset>)‘Date’ 헤더의 값을 설정합니다.
set_ETag(System::SharedPtr<EntityTagHeaderValue>)‘ETag’ 헤더의 값을 설정합니다.
set_Location(System::SharedPtr<Uri>)‘Location’ 헤더의 값을 설정합니다.
set_RetryAfter(System::SharedPtr<RetryConditionHeaderValue>)‘Retry-After’ 헤더의 값을 설정합니다.
set_TransferEncodingChunked(Nullable<bool>)‘Transfer-Encoding’ 헤더 값에 ‘Chunked’가 포함되어 있는지 나타내는 값을 설정합니다.

또 보기