vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct ETag

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

struct ETag ;

Fields

NameTypeDescription
tag string
weak bool

Properties

NameTypeDescription
toString[get] string

Methods

NameDescription
fromBytesBase64URLNoPadding (bytes, weak) Encodes the bytes with URL Base64 to a human readable string and returns an ETag struct wrapping it.
md5 (weak, data) Hashes the input bytes with md5 and returns an URL Base64 encoded representation as ETag.
parse (s)

Standards

https://tools.ietf.org/html/rfc7232#section-2.3

Authors

Sönke Ludwig

Copyright

© 2012-2015 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.