Function replay_normalized

Source
pub async fn replay_normalized(
    base_url: &str,
    options: Vec<ReplayNormalizedRequestOptions>,
    signal: Arc<AtomicBool>,
) -> Result<impl Stream<Item = Result<WsMessage>>>
Expand description

Connects to the Tardis Machine WS replay endpoint and returns a stream of WebSocket messages.

§Errors

Returns Error::EmptyOptions if no options provided, or Error::ConnectFailed/Error::ConnectRejected if connection fails.