WebConstants.h File Reference
#include <WString.h>
Include dependency graph for WebConstants.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
ContentType | |
Macros | |
#define | MIME_TYPE_MAP(XX) |
Basic MIME types and file extensions. More... | |
#define | XX(name, extensionStart, mime) MIME_##name, |
Enumerations | |
enum | MimeType |
Functions | |
String | ContentType::fromFileExtension (const char *extension) |
Obtain content type string from file extension. More... | |
static String | ContentType::fromFileExtension (const String &extension) |
Obtain content type string from file extension. More... | |
String | ContentType::toString (enum MimeType m) |
Get textual representation for a MIME type. More... | |
MimeType | ContentType::fromString (const char *str) |
Get enumerated value for a MIME type string. More... | |
MimeType | ContentType::fromString (const String &str) |
Get enumerated value for a MIME type string. More... | |
String | ContentType::fromFullFileName (const char *fileName) |
Obtain content type string from file name or path, with extension. More... | |
static String | ContentType::fromFullFileName (const String &fileName) |
Obtain content type string from file name or path, with extension. More... | |
Macro Definition Documentation
◆ XX
#define XX | ( | name, | |
extensionStart, | |||
mime | |||
) | MIME_##name, |