Trait wsrpc::WebsocketService
source · [−]pub trait WebsocketService<Ctx: Clone> {
fn serve_ws(
&self,
ctx: Ctx,
raw_req: Value,
service_id: &str
) -> BoxStream<'static, Result<Box<RawValue>, ErrorKind>>;
}