MCPcopy
hub / github.com/cayleygraph/cayley / GetHandleForRequest

Method GetHandleForRequest

internal/http/http.go:75–77  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

73}
74
75func (api *API) GetHandleForRequest(r *http.Request) (*graph.Handle, error) {
76 return cayleyhttp.HandleForRequest(api.handle, "single", nil, r)
77}
78
79func (api *API) RWOnly(handler httprouter.Handle) httprouter.Handle {
80 if api.config.ReadOnly {

Callers 5

ServeV1QueryMethod · 0.95
ServeV1ShapeMethod · 0.95
ServeV1WriteMethod · 0.95
ServeV1WriteNQuadMethod · 0.95
ServeV1DeleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected