pub async fn start_owp(
engine: Arc<Engine>,
xml_baseline: bool,
) -> (String, CancellationToken)Expand description
Starts an OWP adapter on an ephemeral port, wired to the fixture schema.
The fixture schema stands in for a real UCI schema, which the
gateway otherwise loads from the published XSD at startup. It
covers the message types the fixtures use, so xml_baseline
conversion works without a local copy of the standard. INIT
schema is 002.5.0 so handshake matches.
Returns a ws://127.0.0.1:{port}/ URL and a token that stops the
accept loop. Panics if the port cannot be bound.