MCPcopy Create free account
hub / github.com/fadeevab/design-patterns-rust / Server

Interface Server

structural/proxy/server.rs:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4pub use nginx::NginxServer;
5
6pub trait Server {
7 fn handle_request(&mut self, url: &str, method: &str) -> (u16, String);
8}

Callers

nothing calls this directly

Implementers 2

application.rsstructural/proxy/server/application.rs
nginx.rsstructural/proxy/server/nginx.rs

Calls

no outgoing calls

Tested by

no test coverage detected