configure abstract method

void configure(
  1. dynamic configure(
    1. Object request
    )
)

Allows more advanced configuration of this request prior to sending. The supplied callback configure will be called after opening, but prior to sending, this request. The request parameter will either be an instance of HttpRequest or HttpClientRequest, depending on the platform. If configure returns a Future, the request will not be sent until the returned Future completes.

Implementation

void configure(configure(Object request));