Skip to main content

Module utilities_api

Module utilities_api 

Source

Enums§

GetTimeError
struct for typed errors of method get_time

Functions§

get_time
Returns the current Ably service time as a single-element JSON array of milliseconds since the Unix epoch. Used to compute a local clock offset so signed TokenRequest timestamps fall within the server’s acceptance window (~2 minutes). No authentication required.