MCPcopy
hub / github.com/cloudfoundry/cli / PerformRequestForTextResponse

Method PerformRequestForTextResponse

cf/net/gateway.go:261–264  ·  view source on GitHub ↗
(request *Request)

Source from the content-addressed store, hash-verified

259}
260
261func (gateway Gateway) PerformRequestForTextResponse(request *Request) (string, http.Header, error) {
262 bytes, headers, _, err := gateway.performRequestForResponseBytes(request)
263 return string(bytes), headers, err
264}
265
266func (gateway Gateway) PerformRequestForJSONResponse(request *Request, response interface{}) (http.Header, error) {
267 bytes, headers, rawResponse, err := gateway.performRequestForResponseBytes(request)

Callers 1

ListFilesMethod · 0.80

Calls 1

Tested by

no test coverage detected