Skip to content

Commit edbaaeb

Browse files
committed
Mention client side Go version restriction
1 parent 5cdcc5e commit edbaaeb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ http.HandlerFunc(func (w http.ResponseWriter, r *http.Request) {
6060

6161
### Client
6262

63+
The client side of this library requires at minimum Go 1.12 as it uses a [new feature
64+
in net/http](https://github.com/golang/go/issues/26937#issuecomment-415855861) to perform WebSocket handshakes.
65+
6366
```go
6467
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
6568
defer cancel()

0 commit comments

Comments
 (0)