HTTP Date header field
DateField object represents an HTTP Date header field. A Date field is an
optional field that represents the date and time a request or a response message was
originally sent. If you do not specify a Date field in a request message, then MATLAB® inserts one when you send it.
For information on class attributes, see Class Attributes.
obj = matlab.net.http.field.DateField(value) creates a Date
header field with the
Value property set to
obj = matlab.net.http.field.DateField sets the field value to the
current date and time.
Name— Header field name
Header field name, specified as
Value— Date and time
Date and time, specified as a
datetime object or a string in a
valid HTTP date format. The default is the current date and time.
Value must not be in the future. If the time zone is missing,
then the local time zone is assumed. The
Format property is ignored.
|Add fields to HeaderField array|
|Remove fields from header field array|
|Change existing values in HeaderField array|
|Change values in or add fields to array of HeaderFields|
|Return header fields matching name or class|
|Compare two HeaderField arrays|
|Convert header field value like another header field|
|Parse header field value and return as strings|
|Display supported HeaderField subclasses|
These methods specialize standard MATLAB operators and functions for objects in this class.
Array of header fields as string, as it appears in a message. Inserts newline characters between fields but not at the end of all fields.
Array of header fields as character vector, as described by