Main Content

string

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

Show ContentProvider as string

Syntax

str = string(provider)

Description

str = string(provider) returns information about the provider as a string.

Use this method for debugging. It is also invoked by calling in string in MessageBody or RequestMessage that contains this provider. In this abstract class, string returns the class of the provider. Subclasses can override this method to return the provider data, if any, or other information about the provider.

Input Arguments

expand all

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

Output Arguments

expand all

Data in text format, returned as a string.

Attributes

Accesspublic
Introduced in R2018a