good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 2a1e717b authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Mention OriginPatterns in Accept docs

Closes #235
parent 6d4464c7
Branches
Tags
No related merge requests found
......@@ -67,7 +67,7 @@ type AcceptOptions struct {
// the connection to a WebSocket.
//
// Accept will not allow cross origin requests by default.
// See the InsecureSkipVerify option to allow cross origin requests.
// See the InsecureSkipVerify and OriginPatterns options to allow cross origin requests.
//
// Accept will write a response to w on all errors.
func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment