sing/protocol/http/link.go
2022-06-29 12:35:43 +08:00

10 lines
187 B
Go

package http
import (
"bufio"
"net/http"
_ "unsafe" // for linkname
)
//go:linkname ReadRequest net/http.readRequest
func ReadRequest(b *bufio.Reader) (req *http.Request, err error)