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

Method SendUserRequest

rest/utilities_testing.go:969–971  ·  view source on GitHub ↗
(method, resource, body, username string)

Source from the content-addressed store, hash-verified

967}
968
969func (rt *RestTester) SendUserRequest(method, resource, body, username string) *TestResponse {
970 return rt.Send(RequestByUser(method, rt.mustTemplateResource(resource), body, username))
971}
972
973func (rt *RestTester) WaitForNUserViewResults(numResultsExpected int, viewUrlPath string, user auth.User, password string) (viewResult sgbucket.ViewResult) {
974 return rt.WaitForNViewResults(numResultsExpected, viewUrlPath, user, password)

Calls 3

SendMethod · 0.95
mustTemplateResourceMethod · 0.95
RequestByUserFunction · 0.85