def proxy.no.named

bend-kit-http@0.38.2.0 · http.bend:3037

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

3037def proxy.no.named(+host: String, +port: U32, parts: String & String) -> Bool:
3038  (suffix, port_text) = parts
3039  match port_text:
3040    case SNil{}:
3041      proxy.no.suffix(host, suffix)
3042    case other:
3043      proxy.no.port(String.eq(port_text, U32.show(port)), host, suffix)

Uses (9)

Used by (1)