Skip to content

Commit f68577f

Browse files
doc/go1.14: mention new field net/http/httptest/Server.EnableHTTP2
Updates #34939 Updates #36878 Change-Id: Ifa9a17b5b16bfcfbfe1d113a2b66a63ea3a6b59c Reviewed-on: https://go-review.googlesource.com/c/go/+/217131 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 817c5c4 commit f68577f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/go1.14.html

+11
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,17 @@ <h2 id="library">Core library</h2>
532532

533533
</dl><!-- math/big -->
534534

535+
<dl id="net/http/httptest"><dt><a href="/net/http/httptest/">net/http/httptest</a></dt>
536+
<dd>
537+
<p><!-- CL 201557 -->
538+
The
539+
new <a href="/pkg/net/http/httptest/#Server"><code>Server</code></a>
540+
field <a href="/pkg/net/http/httptest/#Server.EnableHTTP2"><code>EnableHTTP2</code></a>
541+
supports enabling HTTP/2 on the test server.
542+
</p>
543+
</dd>
544+
</dl><!-- net/http/httptest -->
545+
535546
<dl id="plugin"><dt><a href="/pkg/plugin/">plugin</a></dt>
536547
<dd>
537548
<p><!-- CL 191617 -->

0 commit comments

Comments
 (0)