Hierarchy

  • ObjectSerializer

Constructors

Methods

  • From a list of possible media types, choose the one we can handle best.

    The order of the given media types does not have any impact on the choice made.

    Parameters

    • mediaTypes: string[]

    Returns string

  • Normalize media type

    We currently do not handle any media types attributes, i.e. anything after a semicolon. All content is assumed to be UTF-8 compatible.

    Parameters

    • mediaType: undefined | string

    Returns undefined | string

Generated using TypeDoc