Home
HTTP module

StaticFileInfo

Metadata needed to serve a static file with HTTP validators.

StaticFileInfo

#include <icy/http/server.h>
struct StaticFileInfo

Defined in src/http/include/icy/http/server.h:261

Metadata needed to serve a static file with HTTP validators.

List of all members

NameKindOwner
sizevariableDeclared here
lastModifiedvariableDeclared here
etagvariableDeclared here

Public Attributes

ReturnNameDescription
uint64_tsizeFile size in bytes.
TimestamplastModifiedLast modification time, normalized to HTTP-second precision.
std::stringetagWeak validator suitable for ETag/If-None-Match.

size

uint64_t size = 0

Defined in src/http/include/icy/http/server.h:263

File size in bytes.


lastModified

Timestamp lastModified

Defined in src/http/include/icy/http/server.h:264

Last modification time, normalized to HTTP-second precision.


etag

std::string etag

Defined in src/http/include/icy/http/server.h:265

Weak validator suitable for ETag/If-None-Match.