aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/codec/codec.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/codec/codec.go')
-rw-r--r--rpc/codec/codec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/codec/codec.go b/rpc/codec/codec.go
index 5e8f38438..3177f77e4 100644
--- a/rpc/codec/codec.go
+++ b/rpc/codec/codec.go
@@ -12,7 +12,7 @@ type Codec int
// (de)serialization support for rpc interface
type ApiCoder interface {
// Parse message to request from underlying stream
- ReadRequest() (*shared.Request, error)
+ ReadRequest() ([]*shared.Request, bool, error)
// Parse response message from underlying stream
ReadResponse() (interface{}, error)
// Encode response to encoded form in underlying stream