Skip to main content

get_date

Function get_date 

Source
pub fn get_date() -> String
Available on crate features async or blocking only.
Expand description

You probably don’t want to use this function directly, unless you are implementing your own abstraction for making requests to the remote.it API.

Creates a date string (now) to be used for signing requests to the remote.it API.

This function is used by [R3Client::send_remoteit_graphql_request] and [R3Client::send_remoteit_graphql_request_async].

§Returns

A date string (now) in the format required by the remote.it API.