We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4464c commit 2a1e717Copy full SHA for 2a1e717
accept.go
@@ -67,7 +67,7 @@ type AcceptOptions struct {
67
// the connection to a WebSocket.
68
//
69
// Accept will not allow cross origin requests by default.
70
-// See the InsecureSkipVerify option to allow cross origin requests.
+// See the InsecureSkipVerify and OriginPatterns options to allow cross origin requests.
71
72
// Accept will write a response to w on all errors.
73
func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {
0 commit comments