Showing
1 changed file
with
2 additions
and
0 deletions
@@ -92,6 +92,7 @@ class Request<T> { | @@ -92,6 +92,7 @@ class Request<T> { | ||
92 | bool? persistentConnection, | 92 | bool? persistentConnection, |
93 | Decoder<T>? decoder, | 93 | Decoder<T>? decoder, |
94 | bool appendHeader = true, | 94 | bool appendHeader = true, |
95 | + ResponseInterceptor<T>? responseInterceptor, | ||
95 | }) { | 96 | }) { |
96 | // If appendHeader is set to true, we will merge origin headers with that | 97 | // If appendHeader is set to true, we will merge origin headers with that |
97 | if (appendHeader && headers != null) { | 98 | if (appendHeader && headers != null) { |
@@ -109,6 +110,7 @@ class Request<T> { | @@ -109,6 +110,7 @@ class Request<T> { | ||
109 | files: files ?? this.files, | 110 | files: files ?? this.files, |
110 | persistentConnection: persistentConnection ?? this.persistentConnection, | 111 | persistentConnection: persistentConnection ?? this.persistentConnection, |
111 | decoder: decoder ?? this.decoder, | 112 | decoder: decoder ?? this.decoder, |
113 | + responseInterceptor: responseInterceptor ?? this.responseInterceptor | ||
112 | ); | 114 | ); |
113 | } | 115 | } |
114 | } | 116 | } |
-
Please register or login to post a comment