Skip to main content

PackageManager.getMediaType() method

gets media type from an envelope

Signature:

getMediaType(envelope: string): MediaType;

Parameters

ParameterTypeDescription
envelopestring

Returns:

MediaType

MediaType