http-endpoint-server-harness 0.1.1

HTTP endpoint server harness for testing mock endpoints
Documentation
1
2
3
4
5
6
7
8
use super::Endpoint;

/// A test scenario containing a server configuration, collector, and endpoints
pub struct Scenario<S, C> {
    pub(crate) server: S,
    pub(crate) collector: C,
    pub(crate) endpoints: Vec<Endpoint>,
}