Skip to main content

connect

Function connect 

Source
pub fn connect(spec: &ConnectSpec) -> Value
Expand description

Build a CONNECT frame with a fresh frame_id/sent_at_ms. Unsigned — pass the result to sign before sending.