Skip to main content

offer

Function offer 

Source
pub fn offer(
    config: &ClientConfig,
) -> Option<(ProtocolVersion, SupportedVersions)>
Expand description

The revision this client prefers, and the set it can speak.

None for a client that offers nothing, which ClientConfig::speaking already refuses to build — so this is a belt-and-braces answer for a config assembled some other way.