- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleHijacker (0.1 sec)
-
src/net/http/example_test.go
// license that can be found in the LICENSE file. package http_test import ( "context" "fmt" "io" "log" "net/http" "os" "os/signal" ) func ExampleHijacker() { http.HandleFunc("/hijack", func(w http.ResponseWriter, r *http.Request) { hj, ok := w.(http.Hijacker) if !ok { http.Error(w, "webserver doesn't support hijacking", http.StatusInternalServerError) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 19 16:12:45 UTC 2021 - 5.4K bytes - Viewed (0)