MCPcopy Create free account
hub / github.com/UiPath/uipathcli / NewHttpResponse

Function NewHttpResponse

utils/network/http_response.go:17–19  ·  view source on GitHub ↗
(status string, statusCode int, proto string, header http.Header, body io.ReadCloser, contentLength int64)

Source from the content-addressed store, hash-verified

15}
16
17func NewHttpResponse(status string, statusCode int, proto string, header http.Header, body io.ReadCloser, contentLength int64) *HttpResponse {
18 return &HttpResponse{status, statusCode, proto, header, body, contentLength}
19}

Callers 1

sendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected