MimeType.name - multiple declarations

Function MimeType.name

The name of MIME type.

string name() pure nothrow @nogc @safe const;

Example

auto mimeType = new MimeType("text/plain");
assert(mimeType.name == "text/plain");
mimeType.name = "text/xml";
assert(mimeType.name == "text/xml");

Function MimeType.name

Set MIME type name.

string name (
  string typeName
) pure nothrow @nogc @safe;