setParameter
Class: matlab.net.http.AuthInfo
Namespace: matlab.net.http
Set value of AuthInfo parameter
Description
sets
the newinfo =
setParameter(authinfo,name,value)value of the parameter name and
returns the modified AuthInfo object. If a parameter
does not exist, then the method adds it.
If you use this method to set the value of the Scheme property,
the method changes the value of the property instead of adding a Scheme parameter.
To set the Scheme, type obj.Scheme =
value.
If you have a parameter named Encoded, then
it must be the only parameter in this object. This usage is for an AuthorizationField object
only.
Input Arguments
Output Arguments
Version History
Introduced in R2016b