def Proxy.parse

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

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

268# "http://user:pass@host:port", or "host:port" (http:// is assumed, as Go
269# does). Other schemes fail rather than silently connecting directly.
270def Proxy.parse(+u: String) -> Route:
271  Proxy.parse.go(u, String.starts_with(String.to_lower(u), "http://"), String.contains(u, "://"))

Uses (6)

Used by (1)