mirror of https://github.com/grpc/grpc-web.git
Review fixes
This commit is contained in:
parent
0238da3b6e
commit
3d921fffb7
|
|
@ -41,7 +41,7 @@ class Request {
|
||||||
*/
|
*/
|
||||||
getCallOptions() {}
|
getCallOptions() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} key
|
* @param {string} key
|
||||||
* @param {string} value
|
* @param {string} value
|
||||||
* @return {!Request<REQUEST, RESPONSE>}
|
* @return {!Request<REQUEST, RESPONSE>}
|
||||||
|
|
|
||||||
|
|
@ -278,6 +278,7 @@ class StreamBodyClientReadableStream {
|
||||||
for (let i = 0; i < bytes.length; i++) {
|
for (let i = 0; i < bytes.length; i++) {
|
||||||
byteSource += String.fromCharCode(bytes[i]);
|
byteSource += String.fromCharCode(bytes[i]);
|
||||||
}
|
}
|
||||||
|
return byteSource;
|
||||||
} else {
|
} else {
|
||||||
return this.xhr_.getResponse();
|
return this.xhr_.getResponse();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue