pub trait TextService: Send + Sync {
// Required methods
fn svc(&self) -> &'static str;
fn handle<'life0, 'async_trait>(
&'life0 self,
ctx: RealtimeCtx,
env: Envelope,
) -> Pin<Box<dyn Future<Output = Result<(), WsPrismError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Text services (Ext Lane). Can be extended by WASM later.