mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07:00
net/http: mention socks5 support in proxy
Change-Id: I55b6d5c77221569eeafea625379affd476a65772 Reviewed-on: https://go-review.googlesource.com/c/go/+/326011 Reviewed-by: Damien Neil <dneil@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
287c5e8066
commit
912f075047
@ -427,6 +427,7 @@ func (t *Transport) onceSetNextProtoDefaults() {
|
||||
//
|
||||
// The environment values may be either a complete URL or a
|
||||
// "host[:port]", in which case the "http" scheme is assumed.
|
||||
// The schemes "http", "https", and "socks5" are supported.
|
||||
// An error is returned if the value is a different form.
|
||||
//
|
||||
// A nil URL and nil error are returned if no proxy is defined in the
|
||||
|
Loading…
Reference in New Issue
Block a user