-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/net/websocket: add runnable versions of examples mentioned in Server.Handshake documentation #32866
Comments
Note the current comment on
Since both of those examples are mentioned explicitly, they should probably be illustrated more complete in runnable (and testable!) examples. |
I would like to handle it. @bcmills |
Change https://golang.org/cl/190819 mentions this issue: |
This commit introduces an example demonstrating the use of (*Server).Handshake with custom validation. Fixes golang/go#32866
Change https://go.dev/cl/609056 mentions this issue: |
This commit introduces an example demonstrating the use of (*Server).Handshake with custom validation. Fixes golang/go#32866 Change-Id: Id6c25f1043b12fafd93161b3182bf9063b5f307b
https://godoc.org/golang.org/x/net/websocket there is missing example for redefining your own check origin callback or even disabling the existing one
The text was updated successfully, but these errors were encountered: