getData
Class: matlab.net.http.io.ContentProvider
Namespace: matlab.net.http.io
Next buffer of data to send in HTTP request message from ContentProvider
Syntax
[data,stop] = getData(provider,length)
Description
[
returns a buffer of data to send in an HTTP request message.data
,stop
] = getData(provider
,length
)
MATLAB® calls this method multiple times during
RequestMessage.send
, after calling start
, and
sends each buffer of data
to the server immediately. If the message
is chunked (for example, expectedContentLength
returned empty and there
is no Content-Length field in the message), then the size of the chunk is the length of
data
.
Input Arguments
Output Arguments
Attributes
Access | public |
Version History
Introduced in R2018a