Arduino DLNA Server
Loading...
Searching...
No Matches
Public Attributes | List of all members
tiny_dlna::MimeExtension Struct Reference

Mapping from file extensions to mime types. More...

#include <HttpCommon.h>

Public Attributes

const char * extension
 File extension (including dot), e.g., ".html".
 
const char * mime
 Corresponding MIME type string, e.g., "text/html".
 

Detailed Description

Mapping from file extensions to mime types.

Associates a file extension with its corresponding MIME type.

Used for mapping file extensions (e.g., ".html") to MIME types (e.g., "text/html") for HTTP responses.

Member Data Documentation

◆ extension

const char* tiny_dlna::MimeExtension::extension

File extension (including dot), e.g., ".html".

◆ mime

const char* tiny_dlna::MimeExtension::mime

Corresponding MIME type string, e.g., "text/html".


The documentation for this struct was generated from the following file: