Url.host.of: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/url.bend as Url Lines 44-50 of emerging-ezhttp@0.21.0.0/src/url.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/url.bend&start_line=44&end_line=50 import Base # the host an authority named: everything before the colon def host.of(ps: List<&2, String>) -> String: match ps: case []: "" case h <> t: h Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String