matlab.net.http.CookieInfo Class
Namespace: matlab.net.http
HTTP cookie information
Description
The CookieInfo
class contains a Cookie
object and
information about the cookie that you can use for cookie management. To obtain a
CookieInfo
object, call the convert
method of a
SetCookieField
object in a response message.
Unlike browsers, MATLAB® does not provide an automatic cookie store. You must save cookies on your own and send them back to servers as needed.
Creation
Description
obj = matlab.net.http.CookieInfo(Name,Value)
creates a
CookieInfo
object with additional properties specified by one, or more
name-value pair arguments. Name
is the property name and
Value
is the corresponding value. You can specify several name-value
pair arguments in any order as Name1,Value1,...,NameN,ValueN
.
Unspecified properties are set to their default values.
Use this constructor for testing.
Properties
Methods
Version History
Introduced in R2016b