API Reference › Http › Http.get
method

Http.get

Http.get(url) -> int

Starts an asynchronous GET and returns a request handle. Poll it each frame with Http.poll; the frame never blocks.

Example

program Demo {
  entry {
    let h = Http.get("https://example.com/scores")
  }
}
← All symbols