close abstract method

Future close({
  1. bool force = false,
})

Closes any HTTP Client resources.

If force is false (the default) the Client will be kept alive until all active connections are done. If force is true any active connections will be closed to immediately release all resources (subject to platform support).

Implementation

Future close({bool force = false});