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
GenericConsumerwas created using theGenericConsumer(puthandle)constructor ordelegateToreturned a delegate that accepted the message, thenputDatacalls the function in PutMethod withdataas an argument.If there was consumer that accepted the message, then
putDatacallsputData, which appendsdatatoResponse.Body.Data.
Input Arguments
Output Arguments
Attributes
Access | public |
Version History
Introduced in R2018a
See Also
putData | Response | delegateTo | PutMethod