File

util/time.lua @ 8893:eb710675f7f8

net.websocket: Honour ex.insecure to match net.http's new parameter for that
author Matthew Wild <mwild1@gmail.com>
date Fri, 08 Jun 2018 16:30:46 +0100
parent 7461:72e48bddf617
line wrap: on
line source

-- Import gettime() from LuaSocket, as a way to access high-resolution time
-- in a platform-independent way

local socket_gettime = require "socket".gettime;

return {
	now = socket_gettime;
}