def authority

emerging-ezhttp@0.21.0.0 · src/http.bend:673

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

673# the Host field value: the host, and the port after a colon unless it is the
674# scheme's default (RFC 9110 §7.2)
675def authority(secure: Bool, host: String, +port: U32) -> String:
676  authority.of(host, port, U32.is_eq(port, port.dflt(secure)))

Uses (6)

Used by (2)