summaryrefslogtreecommitdiff
path: root/plugins/http/response.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 10:02:58 +0300
committerValery Piashchynski <[email protected]>2020-11-18 10:02:58 +0300
commita2ba8de5eb519f73044a9b1c66f087a5b65e3d45 (patch)
treedbcb1649a5ea8f7b50706ffc1cae775f1ef65b42 /plugins/http/response.go
parent3cbdd3d3e44b3b4e72565d666391e3b732950774 (diff)
Add Reset
Diffstat (limited to 'plugins/http/response.go')
-rw-r--r--plugins/http/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/response.go b/plugins/http/response.go
index c3de434f..9ebc0632 100644
--- a/plugins/http/response.go
+++ b/plugins/http/response.go
@@ -21,7 +21,7 @@ type Response struct {
body interface{}
}
-// NewResponse creates new response based on given rr payload.
+// NewResponse creates new response based on given pool payload.
func NewResponse(p roadrunner.Payload) (*Response, error) {
r := &Response{body: p.Body}
j := json.ConfigCompatibleWithStandardLibrary