MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Send

Method Send

rest/utilities_testing.go:765–769  ·  view source on GitHub ↗
(request *http.Request)

Source from the content-addressed store, hash-verified

763}
764
765func (rt *RestTester) Send(request *http.Request) *TestResponse {
766 response := &TestResponse{ResponseRecorder: httptest.NewRecorder(), Req: request}
767 rt.TestPublicHandler().ServeHTTP(response, request)
768 return response
769}
770
771func (rt *RestTester) SendMetricsRequest(method, resource, body string) *TestResponse {
772 return rt.sendMetrics(Request(method, rt.mustTemplateResource(resource), body))

Callers 8

SendRequestMethod · 0.95
WaitForChangesMethod · 0.95
SendUserRequestMethod · 0.95
WaitForNViewResultsMethod · 0.95

Calls 1

TestPublicHandlerMethod · 0.95