[−][src]Function krakend_conf::create_endpoint
pub fn create_endpoint(
pth: String,
backend_pth: String,
hosts: Vec<String>,
method: String
) -> Endpoint
Create a crate::krakend::Endpoint from
pth
- A url path where krakend will listen atbackend_pth
- Where to route the requests if all goes wellhosts
- The host[] in krakend endpoint confmethod
- HTTP method of this endpoint