Macro anterofit::query[][src]

macro_rules! query {
    ($($key:expr => $val:expr),+) => { ... };
}

Append a series of query pairs to the URL of the request.

$key and $val can be anything that is Display; neither Send nor 'static is required.

Can be invoked multiple times. Duplicate keys are left to be handled by the server.

In some server stacks (e.g. PHP), these would be called GET parameters.