The OpenD Programming Language

getContent

Call GET, with parameters, and return response content.

args = stringstring fo query parameters.

  1. auto ref getContent(string url)
  2. auto ref getContent(string url, string[string] args)
    ref
    getContent
    (
    string url
    ,
    string[string] args
    )
  3. auto ref getContent(string url, QueryParam[] args)
  4. auto ref getContent(string url, A args)

Return Value

Type: auto ref

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

Meta