Make ResponseContext
*explicitly* implement StreamConsumer
This commit is contained in:
parent
49942cc841
commit
07d1ce0944
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.2
|
||||
* Make `ResponseContext` *explicitly* implement `StreamConsumer` (though technically it already did???)
|
||||
|
||||
# 2.0.1
|
||||
* Tracked down a bug in `Driver.runPipeline` that allowed fallback
|
||||
handlers to run, even after the response was closed.
|
||||
|
|
|
@ -18,7 +18,7 @@ final RegExp _straySlashes = RegExp(r'(^/+)|(/+$)');
|
|||
|
||||
/// A convenience wrapper around an outgoing HTTP request.
|
||||
abstract class ResponseContext<RawResponse>
|
||||
implements StreamSink<List<int>>, StringSink {
|
||||
implements StreamConsumer<List<int>>, StreamSink<List<int>>, StringSink {
|
||||
final Map properties = {};
|
||||
final CaseInsensitiveMap<String> _headers = CaseInsensitiveMap<String>.from({
|
||||
'content-type': 'text/plain',
|
||||
|
|
Loading…
Reference in a new issue