ws_mock/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! A simple websocket mock framework heavily inspired by [`Wiremock`] in Rust.
//!
//! Ws-Mock is meant to provide a simple framework for expecting, verifying, and responding to
//! messages for tests.
//!
//! [`Wiremock`]: https://docs.rs/wiremock/latest/wiremock/

/// A common trait and useful implementations for matching against received messages.
pub mod matchers;

pub mod utils;
/// The mock server implementation that handles `WsMock`s, expecting, verifying, and responding to
/// messages.
pub mod ws_mock_server;