summaryrefslogtreecommitdiff
path: root/payload.go
diff options
context:
space:
mode:
Diffstat (limited to 'payload.go')
-rw-r--r--payload.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/payload.go b/payload.go
index 4cfcb68c..87472fa1 100644
--- a/payload.go
+++ b/payload.go
@@ -3,11 +3,13 @@ package roadrunner
// Payload carries binary header and body to workers and
// back to the server.
type Payload struct {
- // Context represent payload context, might be omitted
+ // Context represent payload context, might be omitted.
Context []byte
- // body contains binary payload to be processed by worker
+ // body contains binary payload to be processed by worker.
Body []byte
+
+ // todo: io.Reader support for streamed requests and responses.
}
// String returns payload body as string