Skip to content

Commit 4a61167

Browse files
committed
Improve DialOptions docs
1 parent 7196626 commit 4a61167

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
coverage.html
21
wstest_reports
32
websocket.test
43
profs

dial.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// DialOptions represents the options available to pass to Dial.
1818
type DialOptions struct {
1919
// HTTPClient is the http client used for the handshake.
20-
// Its Transport must use HTTP/1.1 and must return writable bodies
20+
// Its Transport must use HTTP/1.1 and return writable bodies
2121
// for WebSocket handshakes. This was introduced in Go 1.12.
2222
// http.Transport does this all correctly.
2323
HTTPClient *http.Client

0 commit comments

Comments
 (0)