pub trait WebsocketExtensionExt: 'static {
    fn request_params(&self) -> Option<GString>;
    fn response_params(&self) -> Option<GString>;
    fn process_incoming_message(
        &self,
        header: &mut u8,
        payload: &Bytes
    ) -> Result<Bytes, Error>; fn process_outgoing_message(
        &self,
        header: &mut u8,
        payload: &Bytes
    ) -> Result<Bytes, Error>; }

Required Methods§

Implementors§