Function now [src]
Prototype
pub fn now(s: *const WebServer) i64
Parameters
s: *const WebServer
Source
pub fn now(s: *const WebServer) i64 {
return @intCast(std.time.nanoTimestamp() - s.base_timestamp);
}
pub fn now(s: *const WebServer) i64
s: *const WebServer
pub fn now(s: *const WebServer) i64 {
return @intCast(std.time.nanoTimestamp() - s.base_timestamp);
}