Skip to main content

Reference / Modules / client / MimeType

Class: MimeType

client.MimeType

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new MimeType(mimeType): MimeType

Parameters

NameType
mimeTypestring

Returns

MimeType

Defined in

packages/client/src/Mime.ts:9

Properties

_entry

Private _entry: MimeEntry

Defined in

packages/client/src/Mime.ts:20


_mimeType

Private _mimeType: string

Defined in

packages/client/src/Mime.ts:18

Accessors

extensions

get extensions(): readonly string[]

Returns

readonly string[]

Defined in

packages/client/src/Mime.ts:26


mimeType

get mimeType(): string

Returns

string

Defined in

packages/client/src/Mime.ts:22

Methods

from

from(mimeType): MimeType

Parameters

NameType
mimeTypestring

Returns

MimeType

Defined in

packages/client/src/Mime.ts:5