Start a new proxy server with automatic failover between backends # Panics Panics if `backends` is empty. At least one backend URL is required.
(listen_addr: SocketAddr, backends: &[Url])
| 74 | /// # Panics |
| 75 | /// Panics if `backends` is empty. At least one backend URL is required. |
| 76 | pub fn start(listen_addr: SocketAddr, backends: &[Url]) -> Self { |
| 77 | Self::start_inner(listen_addr, backends, None) |
| 78 | } |
| 79 | |
| 80 | /// Start a new proxy server with a callback invoked on each request |
| 81 | /// before it is forwarded to the backend. |
no outgoing calls
no test coverage detected