struct
Bridge
pub struct Bridge {
/* private fields */
}A handle to an actix app running on its own thread.
Methods
start
pub fn start<C>(configure: C) -> Bridge where C: Fn(&mut ServiceConfig) + Send + 'staticStart the app built by configure.
call
pub async fn call(&self, method: &str, uri: &str, headers: Vec<(String, String)>, body: Vec<u8>) -> ReplyHandle one request.