Trait soup::prelude::WebsocketExtensionExt

source ·
pub trait WebsocketExtensionExt: IsA<WebsocketExtension> + Sealed + 'static {
    // Provided methods
    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> { ... }
}

Provided Methods§

source

fn request_params(&self) -> Option<GString>

source

fn response_params(&self) -> Option<GString>

source

fn process_incoming_message( &self, header: &mut u8, payload: Bytes, ) -> Result<Bytes, Error>

source

fn process_outgoing_message( &self, header: &mut u8, payload: Bytes, ) -> Result<Bytes, Error>

Object Safety§

This trait is not object safe.

Implementors§