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

Method handleForRequest

server/http/api_v2.go:171–173  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

169}
170
171func (api *APIv2) handleForRequest(r *http.Request) (*graph.Handle, error) {
172 return HandleForRequest(api.h, api.wtyp, api.wopt, r)
173}
174
175func (api *APIv2) ServeWrite(w http.ResponseWriter, r *http.Request) {
176 defer r.Body.Close()

Callers 5

ServeWriteMethod · 0.95
ServeDeleteMethod · 0.95
ServeNodeDeleteMethod · 0.95
ServeReadMethod · 0.95
ServeQueryMethod · 0.95

Calls 1

HandleForRequestFunction · 0.85

Tested by

no test coverage detected