Page Contents

Home > @loopback/rest > TextBodyParser > supports

TextBodyParser.supports() method

Signature:

supports(mediaType: string): boolean;

Parameters

Parameter Type Description
mediaType string  

Returns:

boolean