242 matches across 1 files for func main lang:Go path:src/net/http/server.go lang:Go lang:Go lang:Go lang:Go
snippet_mode: grep · sorted by relevance
src/net/http/server.go GO 242 matches · showing 5 view file →
147 // If WriteHeader is not called explicitly, the first call to Write
148 // will trigger an implicit WriteHeader(http.StatusOK).
149 // Thus explicit calls to WriteHeader are mainly used to
150 // send error codes or 1xx informational responses.
151 //
· · ·
203 //
204 // After a call to Hijack, the original Request.Body must not
205 // be used. The original Request's Context remains valid and
206 // is not canceled until the Request's ServeHTTP method
207 // returns.
· · ·
260
261 // cancelCtx cancels the connection-level context.
262 cancelCtx context.CancelFunc
263
264 // rwc is the underlying network connection.
· · ·
284 // r is bufr's read source. It's a wrapper around rwc that provides
285 // io.LimitedReader-style limiting (while reading request headers)
286 // and functionality to support CloseNotifier. See *connReader docs.
287 r *connReader
288
· · ·
310}
311
312func (c *conn) hijacked() bool {
313 c.mu.Lock()
314 defer c.mu.Unlock()
+ 237 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.