Skip to main content

on_frame

Function on_frame 

Source
async fn on_frame<W>(
    write: &mut W,
    ctx: &Ctx<'_>,
    st: &mut State,
    frame: Option<Result<Message, Error>>,
) -> Step
where W: Sink<Message, Error = Error> + Unpin,
Expand description

One frame from the Gateway.