System::Net::Http::Headers::HttpResponseHeaders class
HttpResponseHeaders class
Represents the collection of the ‘Response’ headers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class HttpResponseHeaders : public System::Net::Http::Headers::HttpHeaders
Methods
Method | Description |
---|---|
AddHeaders(System::SharedPtr<HttpHeaders>) override | Concatenates the specified HttpHeaders-class instance with the current one. |
static AddKnownHeaders(System::SharedPtr<Collections::Generic::HashSet<String>>) | Adds the known headers to the specified collection. |
get_AcceptRanges() | RTTI information. |
get_Age() | Gets a value of the ‘Age’ header. |
get_CacheControl() | Gets a value of the ‘Cache-Control’ header. |
get_Connection() | Returns a value of the ‘Connection’ header. |
get_ConnectionClose() | Gets a value that indicates if the ‘Connection’ header value contains ‘Close’. |
get_Date() | Gets a value of the ‘Date’ header. |
get_ETag() | Gets a value of the ‘ETag’ header. |
get_Location() | Gets a value of the ‘Location’ header. |
get_Pragma() | Returns a value of the ‘Pragma’ header. |
get_ProxyAuthenticate() | Returns a value of the ‘Proxy-Authenticate’ header. |
get_RetryAfter() | Gets a value of the ‘Retry-After’ header. |
get_Server() | Returns a value of the ‘Server’ header. |
get_Trailer() | Returns a value of the ‘Trailer’ header. |
get_TransferEncoding() | Returns a value of the ‘Transfer-Encoding’ header. |
get_TransferEncodingChunked() | Gets a value that indicates if the ‘Transfer-Encoding’ header value contains ‘Chunked’. |
get_Upgrade() | Returns a value of the ‘Upgrade’ header. |
get_Vary() | Returns a value of the ‘Vary’ header. |
get_Via() | Returns a value of the ‘Via’ header. |
get_Warning() | Returns a value of the ‘Warning’ header. |
get_WwwAuthenticate() | Returns a value of the ‘WWW-Authenticate’ header. |
HttpResponseHeaders() | Constructs a new instance. |
set_Age(Nullable<TimeSpan>) | Sets a value of the ‘Age’ header. |
set_CacheControl(System::SharedPtr<CacheControlHeaderValue>) | Sets a value of the ‘Cache-Control’ header. |
set_ConnectionClose(Nullable<bool>) | Sets a value that indicates if the ‘Connection’ header value contains ‘Close’. |
set_Date(Nullable<DateTimeOffset>) | Sets a value of the ‘Date’ header. |
set_ETag(System::SharedPtr<EntityTagHeaderValue>) | Sets a value of the ‘ETag’ header. |
set_Location(System::SharedPtr<Uri>) | Sets a value of the ‘Location’ header. |
set_RetryAfter(System::SharedPtr<RetryConditionHeaderValue>) | Sets a value of the ‘Retry-After’ header. |
set_TransferEncodingChunked(Nullable<bool>) | Sets a value that indicates if the ‘Transfer-Encoding’ header value contains ‘Chunked’. |
See Also
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.PDF for C++