ETag

Represents an Entity-Tag value for use inside HTTP Cache headers.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromBytesBase64URLNoPadding
ETag fromBytesBase64URLNoPadding(const(ubyte)[] bytes, Flag!"weak" weak)

Encodes the bytes with URL Base64 to a human readable string and returns an ETag struct wrapping it.

md5
ETag md5(Flag!"weak" weak, T data)

Hashes the input bytes with md5 and returns an URL Base64 encoded representation as ETag.

parse
ETag parse(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

tag
string tag;
Undocumented in source.
weak
bool weak;
Undocumented in source.

Meta