Skip to main content

negotiate_protocol_version

Function negotiate_protocol_version 

Source
fn negotiate_protocol_version(params: Option<&Value>) -> &'static str
Expand description

Echo the client’s requested protocol version when we speak it, else answer with our latest - the spec’s SHOULD for an unsupported request.