System::Net::Http::Headers::HttpHeaders::SetOrRemoveParsedValue method

HttpHeaders::SetOrRemoveParsedValue method

Gets a header by the specified name and sets or removes its value. The header value will be removed when the ‘value’ parameter is nullptr, otherwise a parsed value will be set.

void System::Net::Http::Headers::HttpHeaders::SetOrRemoveParsedValue(String name, System::SharedPtr<Object> value)
ParameterTypeDescription
nameStringThe header name.
valueSystem::SharedPtr<Object>The header value.

See Also