matlab.net.http.io.ContentProvider.string - Show ContentProvider as string - MATLAB (original) (raw)
Main Content
Class: matlab.net.http.io.ContentProvider
Namespace: matlab.net.http.io
Show ContentProvider as string
Syntax
str = string(provider)
Description
[str](#d126e829190) = string([provider](#d126e829165))
returns information about the provider as a string.
Use this method for debugging. It is also invoked by calling instring
in MessageBody
orRequestMessage
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
Content provider, specified as amatlab.net.http.io.ContentProvider
object.
Output Arguments
Data in text format, returned as a string.
Attributes
Version History
Introduced in R2018a