[−][src]Function odoh_rs::protocol::get_supported_config
pub fn get_supported_config(
odohconfigs: &[u8]
) -> Result<ObliviousDoHConfigContents>
Returns the config supported by the library from a buffer containing odohconfigs
.
odohconfigs
is distributed by the server, and the client calls this function
in order to retrieve a supported config that it can use to encrypt queries to the server.