Main Content

getParameter

Class: matlab.net.http.AuthInfo
Namespace: matlab.net.http

Return value of AuthInfo parameter

Description

value = getParameter(authinfo,name) returns the value of parameter name. If the parameter does not exist, then getParameter returns empty ([]).

Input Arguments

expand all

AuthInfo, specified as a matlab.net.http.AuthInfo object. If authinfo is nonscalar, then value is a cell array of values with the same size and shape as authinfo.

Parameter name, specified as a string or a character vector. Name matching is case-insensitive. If name is 'Scheme', then getParameter returns the value of the Scheme property.

Version History

Introduced in R2016b