deltachat::net

Function load_connection_timestamp

source
pub(crate) async fn load_connection_timestamp(
    sql: &Sql,
    alpn: &str,
    host: &str,
    port: u16,
    addr: Option<&str>,
) -> Result<Option<i64>>
Expand description

Returns timestamp of the most recent successful connection to the host and port for given protocol.