Main Content
replaceFields
Class: matlab.net.http.HeaderField
Namespace: matlab.net.http
Change values in or add fields to array of HeaderFields
Syntax
Description
fields = replaceFields(
changes the existing fields in each header field with the specified names to the
indicated values and returns the updated array. This method is the same as
fields
,FieldName1,FieldValue1,...,FieldNameN,FieldValueN
)changeFields
, but if a field does not exist, then
replaceFields
adds it to the end of fields.
Input Arguments
Version History
Introduced in R2018a