pub struct HandshakeOptions {
pub client: Option<String>,
pub source: Option<String>,
pub omit_source: bool,
pub timeout: Duration,
}Expand description
Tunables for loopback_handshake.
Fields§
§client: Option<String>Short app identifier sent as the client query param. Shown as
the consent screen title and in the user’s “Active sessions”
listing. Defaults to "wavekat-platform-client"; consumers
usually want to override with their own product name (e.g.
"wavekat-voice").
source: Option<String>Origin label sent as the source query param. Shown beside the
title as “from Some("") (or
override Self::omit_source to true) to suppress it for
privacy.
omit_source: boolIf true, no source is sent at all — the platform will store
null and the consent UI won’t render a “from …” line. Useful
for desktop apps that don’t want to disclose the hostname.
timeout: DurationHow long to wait for the browser callback. Default: 5 min.
Trait Implementations§
Source§impl Clone for HandshakeOptions
impl Clone for HandshakeOptions
Source§fn clone(&self) -> HandshakeOptions
fn clone(&self) -> HandshakeOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more