1 2 3 4 5 6 7 8 9 10 11 12 13 14
import std.stdio; import url; void main() { URL url; with (url) { scheme = "soap.beep"; host = "beep.example.net"; port = 1772; path = "/serverinfo/info"; queryParams.add("token", "my-api-token"); } writeln(url); }