get method

ClientRequest get(
  1. dynamic urlOrOptions, [
  2. void callback(
    1. IncomingMessage response
    )
])

Makes GET request. The only difference between this method and request is that it sets the method to GET and calls req.end() automatically.

Implementation

external ClientRequest get(dynamic urlOrOptions,
    [void Function(IncomingMessage response) callback]);