Source File
hijack_go120.go
Belonging Package
github.com/gobwas/ws
//go:build go1.20// +build go1.20package wsimport ()func hijack( http.ResponseWriter) (net.Conn, *bufio.ReadWriter, error) {, , := http.NewResponseController().Hijack()if errors.Is(, http.ErrNotSupported) {return nil, nil, ErrNotHijacker}return , ,}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |