def Proxy.route.no

bend-kube-runtime@0.2.0.0 · src/proxy.bend:283

import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxy
import Base

283def Proxy.route.no(+url: String, by: Bool) -> Route:
284  match by:
285    case True{}:
286      Direct{}
287    case False{}:
288      Proxy.route.url(url, String.is_empty(String.trim(url)))

Uses (6)

Used by (1)