MCPcopy Index your code
hub / github.com/mislav/hub / isGraphQL

Function isGraphQL

github/http.go:310–312  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

308}
309
310func isGraphQL(req *http.Request) bool {
311 return req.URL.Path == "/graphql"
312}
313
314func canCache(req *http.Request) bool {
315 return strings.EqualFold(req.Method, "GET") || isGraphQL(req)

Callers 2

canCacheFunction · 0.85
cacheKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…