Enum humphrey_server::config::config::RouteConfig [−][src]
pub enum RouteConfig {
Serve {
matches: String,
directory: String,
},
Proxy {
matches: String,
load_balancer: EqMutex<LoadBalancer>,
},
}
Expand description
Represents configuration for a specific route.
Variants
Serve files from a directory
Fields of Serve
Proxy connections to the specified target(s), load balancing if necessary
Fields of Proxy
matches: String
Wildcard string specifying what URIs to match
load_balancer: EqMutex<LoadBalancer>
Load balancer instance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.