Http.port.dflt: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/http.bend as Http Lines 656-663 of emerging-ezhttp@0.21.0.0/src/http.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&start_line=656&end_line=663 import Base # the port a scheme implies: 443 for a secure one, 80 otherwise (RFC 9110 # §4.2.1, §4.2.2) def port.dflt(secure: Bool) -> U32: match secure: case True{}: 443 case False{}: 80 Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32