Skip to main content

WebSocketScriptRenderer

Trait WebSocketScriptRenderer 

Source
pub trait WebSocketScriptRenderer {
    // Required method
    fn language_name(&self) -> &'static str;
}
Expand description

Per-language WebSocket script renderer.

Implementations live next to the per-language codegen module (crates/alef-e2e/src/codegen/<lang>/ws.rs).

This is currently a stub: the trait methods will be filled in alongside Phase 2B/2C of the e2e flip, when each language’s WebSocket assertions are migrated to drive the binding’s TestClient.connect_websocket() API.

Required Methods§

Source

fn language_name(&self) -> &'static str

Identifier used in fixture skip directives (e.g. "python").

Implementors§