Skip to content

Commit

Permalink
Update http.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-sandholm authored and kevmoo committed Nov 3, 2016
1 parent 4874480 commit 4682ea9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/lib/io/http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1668,13 +1668,13 @@ abstract class HttpClient {
int port));

/**
* Shutdown the HTTP client. If [force] is [:false:] (the default)
* Shut down the HTTP client. If [force] is [:false:] (the default)
* the [:HttpClient:] 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. These closed connections will receive an [:onError:]
* callback to indicate that the client was shutdown. In both cases
* trying to establish a new connection after calling [shutdown]
* callback to indicate that the client was shut down. In both cases
* trying to establish a new connection after calling [close]
* will throw an exception.
*/
void close({bool force: false});
Expand Down

0 comments on commit 4682ea9

Please sign in to comment.