SetOrRemoveParsedValue()

HttpHeaders::SetOrRemoveParsedValue(String, System::SharedPtr<Object>) 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)

Arguments

ParameterTypeDescription
nameStringThe header name.
valueSystem::SharedPtr<Object>The header value.

See Also