This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

start

Class: matlab.net.http.io.StringConsumer
Package: matlab.net.http.io

Start data transfer to StringConsumer

Syntax

bufsize = start(consumer)

Description

bufsize = start(consumer) prepares consumer for receipt of data. By default, start accumulates the converted string or character vector in Response.Body.Data. This method returns [] to indicate it has no preferred buffer size.

This method is an abstract method of ContentConsumer. If you override this method, you should call the ContentConsumer.start method as well.

Input Arguments

expand all

Content consumer, specified as a matlab.net.http.io.StringConsumer object.

Attributes

Accessprotected

Examples

For an example subclassing this method, see the PricesStreamer class start method in Display Streamed Data in Figure Window.

Introduced in R2018a