Main Content

restartable

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

Indicate whether ContentProvider is restartable

Syntax

TF = restartable(provider)

Description

TF = restartable(provider) indicates whether ContentProvider is restartable. The method returns true if the ContentProvider can restart transmission of the same data, by accepting a subsequent call to the start method without an intervening call to complete. For more information on restartability, see the class description of ContentProvider. By default, restartable returns false, but most concrete subclasses return true.

Input Arguments

expand all

Content provider, specified as a matlab.net.http.io.ContentProvider object.

Attributes

Accessprotected
Introduced in R2018a