putAjax function

Future<Response> putAjax(
  1. Uri url, {
  2. List<int>? data,
  3. String? body,
  4. Map<String, String>? headers,
  5. Duration? timeout,
})

Sends an Ajax request to the given url using the PUT method.

Implementation

Future<http.Response> putAjax(Uri url, {
    List<int>? data, String? body, Map<String, String>? headers,
    Duration? timeout})
=> ajax(url, method: "PUT", data: data, body: body,
    headers: headers, timeout: timeout);