summaryrefslogtreecommitdiff
path: root/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'response.go')
-rw-r--r--response.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/response.go b/response.go
index 5943552..369c5d1 100644
--- a/response.go
+++ b/response.go
@@ -26,3 +26,10 @@ func (response *Response) Close() error {
}
return nil
}
+
+// ResponseReader is an object which can serialize a response to a protocol.
+type ResponseReader interface {
+ io.Reader
+ io.WriterTo
+ io.Closer
+}