Skip to main content

compatibility

Function compatibility 

Source
pub fn compatibility(
    handshake: &Result<Negotiated, DisconnectReason>,
    expected_agent: &str,
) -> Compatibility
Expand description

Judges a running agent by its handshake: compatible when the host accepted its hello and it is the build expected_agent names (mobile-agent-android <version>).