246 matches across 1 files for func main path:src/net/http/server.go path:src/net/http/server.go path:src/net/http/server.go
snippet_mode: grep · sorted by relevance
src/net/http/server.go GO 246 matches · showing 5 view file →
146 // If WriteHeader is not called explicitly, the first call to Write
147 // will trigger an implicit WriteHeader(http.StatusOK).
148 // Thus explicit calls to WriteHeader are mainly used to
149 // send error codes or 1xx informational responses.
150 //
· · ·
202 //
203 // After a call to Hijack, the original Request.Body must not
204 // be used. The original Request's Context remains valid and
205 // is not canceled until the Request's ServeHTTP method
206 // returns.
· · ·
259
260 // cancelCtx cancels the connection-level context.
261 cancelCtx context.CancelFunc
262
263 // rwc is the underlying network connection.
· · ·
283 // r is bufr's read source. It's a wrapper around rwc that provides
284 // io.LimitedReader-style limiting (while reading request headers)
285 // and functionality to support CloseNotifier. See *connReader docs.
286 r *connReader
287
· · ·
309}
310
311func (c *conn) hijacked() bool {
312 c.mu.Lock()
313 defer c.mu.Unlock()
+ 241 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.