commit | 3dfd003ad338913e62ad1e56020aee316f1ffe59 | [log] [tgz] |
---|---|---|
author | Aleksei Besogonov <alex.besogonov@gmail.com> | Fri Jan 12 07:38:27 2024 +0000 |
committer | Gopher Robot <gobot@golang.org> | Tue Feb 27 23:21:14 2024 +0000 |
tree | f4b6b6a1023a013d0391a2b0c7ea7fbeddfafbe0 | |
parent | fa1142799318d3fa3632ecfd9f318ffa040e7c4c [diff] |
websocket: add support for dialing with context Right now there is no way to pass context.Context to websocket.Dial. In addition, this method can block indefinitely in the NewClient call. Fixes golang/go#57953. Change-Id: Ic52d4b8306cd0850e78d683abb1bf11f0d4247ca GitHub-Last-Rev: 5e8c3a7cbaa324d6165ff40d2ee9ea6c4433b036 GitHub-Pull-Request: golang/net#160 Reviewed-on: https://go-review.googlesource.com/c/net/+/463097 Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.