diff options
Diffstat (limited to 'payload.go')
-rw-r--r-- | payload.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |