mirror of
https://github.com/golang/go.git
synced 2025-12-07 13:50:04 +00:00
For #75772 Change-Id: Iad7607b40636bab1faf8653455e92e9700309003 Reviewed-on: https://go-review.googlesource.com/c/go/+/722223 Reviewed-by: Nicholas Husin <nsh@golang.org> Reviewed-by: Nicholas Husin <husin@google.com> Auto-Submit: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
288 B
288 B
The new [Transport.NewClientConn] method returns a client connection
to an HTTP server.
Most users should continue to use [Transport.RoundTrip] to make requests,
which manages a pool of connection.
NewClientConn is useful for users who need to implement their own conection management.