getContent

Call GET, and return response content. args = variadic args to supply parameter names and values.

  1. auto ref getContent(string url)
  2. auto ref getContent(string url, string[string] args)
  3. auto ref getContent(string url, QueryParam[] args)
  4. auto ref getContent(string url, A args)
    ref
    getContent
    (
    A...
    )
    (
    string url
    ,)
    if (
    args.length > 1 &&
    args.length % 2 == 0
    )

Return Value

Type: auto ref

Buffer!ubyte which you can use as ForwardRange or DirectAccessRange, or extract data with .data() method.

Meta