-
Notifications
You must be signed in to change notification settings - Fork 1
codec.mime types
Palamecia edited this page Dec 4, 2022
·
1 revision
load codec.mime-types
This module provides tools to handle data mime type and encoding. It provides the Codec.MimeTypes class which manage mime types.
This class manage the mime types database. It allow to find a mime type and retrieve informations about it.
| Modifiers | Member | Description |
|---|---|---|
@ const
|
fromData | Returns the mime type of the given data. If the data provides a read method, ... |
| Modifiers | Member | Description |
|---|---|---|
@ const
|
g_lib | Global library handle. |
def (data)
Returns the mime type of the given data. If the data provides a
read method, the result of this method is used instead. The mime
type contains the type of the data and the encoding if any.
lib ('libmint-codec')
Global library handle.
- Introduction
- Variables
-
Built-in-types
- Built-in-types#none
- Built-in-types#null
- Built-in-types#boolean
- Built-in-types#number
- Built-in-types#string
- Built-in-types#regex
- Built-in-types#array
- Built-in-types#hash
- Built-in-types#iterator
- Built-in-types#async_iterator
- Built-in-types#package
- Built-in-types#function
- Built-in-types#coroutine
- Built-in-types#library
- Built-in-types#libobject
- Arithmetic-operations
- Type-casting
- Control-structures
- Function-definition
- User-defined-types
- Work-with-modules