diff options
author | Wolfy-J <[email protected]> | 2018-06-06 15:55:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 15:55:28 +0300 |
commit | e863c6cdcf7c318fb251e096bf92812ed98ea03c (patch) | |
tree | 9eb2cd049dfae0482211a6a212d28cc48304f109 /payload.go | |
parent | 67b88c9914d922314ce7cd8d3624d64812647758 (diff) |
better server re-configuration
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 |