Skip to main content

capsule_response

Function capsule_response 

pub fn capsule_response<B>(
    version: Version,
    protocol: &Protocol,
) -> Result<Response<B>, CapsuleHandshakeError>
where B: Default,
Available on crate features http and std only.
Expand description

Build the response accepting a Capsule Protocol handshake for protocol on version.