summaryrefslogtreecommitdiffstats
path: root/test cases/d/11 dub/test.d
blob: 7cf7a1d582b43a5f6de7f208b954c485b7eece43 (plain)
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);
}