Macro yup_hyper_mock::mock_connector [] [src]

macro_rules! mock_connector {
    ($name:ident {
        $($url:expr => $res:expr)*
    }) => { ... };
}

This macro maps host URLs to a respective reply, which is given in plain-text. It ignores, but stores, everything that is written to it. However, the stored values are not accessible just yet.