Contents of a HTTP Content-Type Header. Optional parameters Record is included.

Hierarchy

  • ContentType

Constructors

Properties

Methods

Constructors

Properties

parameters: Record<string, string> = {}
value: string

Methods

  • Serialize this ContentType object to a ContentType header appropriate value string.

    Returns string

    The value string, including parameters, if present.