pub type ClientServer = Server<ClientServerComponents>;Expand description
Client server handling the client API
Aliased Type§
pub struct ClientServer {
pub state: ServerState,
pub router: Router,
pub listener: TcpListener,
/* private fields */
}Fields§
§state: ServerStateState passed to all components. This is cloned for each call.
router: RouterThe router used by this component. Might be used by tests to skip doing actual network requests.
listener: TcpListenerThe listener on which we will listen for stuff