Main Content

show

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

Display ContentProvider information

Syntax

show(provider)
show(provider,maxlength)
str = show(___)

Description

show(provider) displays information about the provider and possibly its data.

Use this method for debugging. If the Body property in a RequestMessage contains this provider, then MATLAB® calls show. In this abstract class, show returns the value of the string method, but limits the output to maxlength characters.

show(provider,maxlength) displays up to maxlength characters of data. If the data is longer than maxlength, then show displays a message indicating the total length in characters.

str = show(___) returns the information as a string.

Input Arguments

expand all

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

Number of characters to display, specified as double.

Attributes

Accesspublic

Version History

Introduced in R2018a

See Also