]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.5: mention net/http.Request.Cancel
authorAaron Jacobs <jacobsa@google.com>
Wed, 8 Jul 2015 00:05:39 +0000 (10:05 +1000)
committerRob Pike <r@golang.org>
Wed, 8 Jul 2015 01:20:02 +0000 (01:20 +0000)
This was added in commit 8b4278ffb75e79c277bfa90c5e473bfad9f7c1bd.

Change-Id: I95279f2779c2bab2767e34389fb4324900c01e6c
Reviewed-on: https://go-review.googlesource.com/11952
Reviewed-by: Rob Pike <r@golang.org>
doc/go1.5.html

index 62d6ffd1d55ba7ac75998ecebeda4dbd4a362bad..6337e8afa1e87b291665a33e222d2ba007e37f90 100644 (file)
@@ -1039,6 +1039,13 @@ Also, starting with Go 1.5 the package sets the <code>REMOTE_PORT</code>
 variable.
 </li>
 
+<li>
+The <a href="/pkg/net/http/"><code>net/http</code></a> package's
+<a href="/pkg/net/http#Request"><code>Request</code></a> type adds a
+<code>Cancel</code> field, a channel to signal that the request has been
+canceled.
+</li>
+
 <li>
 The <a href="/pkg/net/mail/"><code>net/mail</code></a> package
 adds a <a href="/pkg/net/mail/#AddressParser"><code>AddressParser</code></a>