Skip to content
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

Examples: CloseNow does not exist #417

Closed
andig opened this issue Nov 3, 2023 · 1 comment
Closed

Examples: CloseNow does not exist #417

andig opened this issue Nov 3, 2023 · 1 comment

Comments

@andig
Copy link

andig commented Nov 3, 2023

	c, err := websocket.Accept(w, r, nil)
	if err != nil {
		log.Println(err)
		return
	}
	defer c.CloseNow()

c.CloseNow does not exist

@andig andig changed the title README: CloseNow does not exist Examples: CloseNow does not exist Nov 3, 2023
@nhooyr
Copy link
Owner

nhooyr commented Nov 3, 2023

See #416

@nhooyr nhooyr closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants