matlab.net.http.io.GenericProvider.getData - Next buffer of data to send in HTTP request message from

        GenericProvider - MATLAB ([original](https://in.mathworks.com/help/matlab/ref/matlab.net.http.io.genericprovider.getdata.html)) ([raw](?raw))

Main Content

Class: matlab.net.http.io.GenericProvider
Namespace: matlab.net.http.io

Next buffer of data to send in HTTP request message from GenericProvider

Syntax

[data,stop] = getData(provider,length)

Description

[[data](#d126e831944),[stop](#d126e831968)] = getData([provider](#d126e831896),[length](#d126e831917)) calls the getDataFcn function, specified by the argument to theGenericProvider constructor. getData is an overridden method of getData.

Input Arguments

expand all

Content provider, specified as amatlab.net.http.io.GenericProvider object.

Length of data that the provider should return, specified as double. For more information, see the length argument inContentProvider.getData.

Output Arguments

expand all

Next buffer of data, returned as a uint8 vector or empty.

Indicate whether to end transmission, returned as a logical that the provider must set.

Attributes

Version History

Introduced in R2018a