From 4a611672ba357002f35b0a618dee9dd0bb3ac913 Mon Sep 17 00:00:00 2001 From: Anmol Sethi <hi@nhooyr.io> Date: Tue, 30 Apr 2019 11:09:59 -0400 Subject: [PATCH] Improve DialOptions docs --- .gitignore | 1 - dial.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9d6b49c..7fffaa2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -coverage.html wstest_reports websocket.test profs diff --git a/dial.go b/dial.go index e9524f5..3c7e71d 100644 --- a/dial.go +++ b/dial.go @@ -17,7 +17,7 @@ import ( // DialOptions represents the options available to pass to Dial. type DialOptions struct { // HTTPClient is the http client used for the handshake. - // Its Transport must use HTTP/1.1 and must return writable bodies + // Its Transport must use HTTP/1.1 and return writable bodies // for WebSocket handshakes. This was introduced in Go 1.12. // http.Transport does this all correctly. HTTPClient *http.Client -- GitLab