replaceFields
Class:matlab.net.http.HeaderField
Package: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 asfields
,FieldName1,FieldValue1,...,FieldNameN,FieldValueN
)changeFields
, but if a field does not exist, thenreplaceFields
adds it to the end of fields.