delete method

Future<SignalRHttpResponse> delete(
  1. String? url, {
  2. required SignalRHttpRequest options,
})

Issues an HTTP DELETE request to the specified URL, returning a Promise that resolves with an {@link @microsoft/signalr.HttpResponse} representing the result.

The URL for the request. Additional options to configure the request. The 'url' field in this object will be overridden by the url parameter. Returns a Future that resolves with an describing the response, or rejects with an Error indicating a failure.

Implementation

Future<SignalRHttpResponse> delete(String? url,
    {required SignalRHttpRequest options}) {
  options.method = 'DELETE';
  options.url = url;
  return send(options);
}