putData
Class: matlab.net.http.io.GenericConsumer
Namespace: matlab.net.http.io
Save next buffer of data for GenericConsumer
Syntax
[len,stop] = putData(consumer,data)
Description
[
stores the next buffer of data. This method is an overridden method of len
,stop
] = putData(consumer
,data
)putData
.
putData
determines what method to call based on the following:
If this
GenericConsumer
was created using theGenericConsumer(puthandle)
constructor ordelegateTo
returned a delegate that accepted the message, thenputData
calls the function in PutMethod withdata
as an argument.If there was consumer that accepted the message, then
putData
callsputData
, which appendsdata
toResponse.Body.Data
.
Input Arguments
Output Arguments
Attributes
Access | public |
Version History
Introduced in R2018a
See Also
putData
| Response | delegateTo
| PutMethod