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

Method BodyString

rest/utilities_testing.go:1197–1199  ·  view source on GitHub ↗

BodyString returns the string of the response body. This is cached once the first time it is called.

()

Source from the content-addressed store, hash-verified

1195
1196// BodyString returns the string of the response body. This is cached once the first time it is called.
1197func (r TestResponse) BodyString() string {
1198 return string(r.BodyBytes())
1199}
1200
1201// DumpBody returns the byte array of the response body. This is cached once the first time it is called.
1202func (r TestResponse) DumpBody() {

Callers 15

TestGetDocWithCVFunction · 0.80
TestBulkDocsFunction · 0.80
TestDocCRUDWithCVFunction · 0.80
compareAllChannelsOutputFunction · 0.80
compareUserDocSeqsOutputFunction · 0.80

Calls 1

BodyBytesMethod · 0.95