start
Class: matlab.net.http.io.ContentConsumer
Namespace: matlab.net.http.io
Start HTTP data transfer to ContentConsumer
Syntax
bufsize = start(consumer)
Description
signals the start of an HTTP transfer.bufsize
= start(consumer
)
MATLAB® calls start
when it is ready to send data to the
consumer, after it calls the initialize
method that returned true
. All consumers must implement this abstract
method.
The start
method differs from initialize
in that it
is invoked only if the message contains a payload. MATLAB calls initialize
as soon as it receives the message
header. Hence, it might be better to perform initializations in start
rather than initialize
, so that it is not done if the message is
empty.
Input Arguments
Output Arguments
Attributes
Abstract | protected |
Version History
Introduced in R2018a