-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to new grpc-web interceptors
- Loading branch information
1 parent
907601d
commit 5ac43a2
Showing
21 changed files
with
293 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
var module; | ||
|
||
/** | ||
* List of functions we want to preserve when running the closure compiler | ||
* with --compilation_level=ADVANCED_OPTIMIZATIONS. | ||
*/ | ||
module.ClientReadableStream = function() {}; | ||
module.ClientReadableStream.prototype.on = function(eventType, callback) {}; | ||
module.ClientReadableStream.prototype.cancel = function() {}; | ||
|
||
module.GenericClient = function() {}; | ||
module.GenericClient.prototype.unaryCall = function(request) {}; | ||
module.GenericClient.prototype.call = function(requestMessage, | ||
methodDescriptor) {}; | ||
|
||
module.UnaryInterceptor = function() {}; | ||
module.UnaryInterceptor.prototype.intercept = function(request, invoker) {}; | ||
|
||
module.StreamInterceptor = function() {}; | ||
module.StreamInterceptor.prototype.intercept = function(request, invoker) {}; | ||
|
||
module.Request = function() {}; | ||
module.Request.prototype.getRequestMessage = function() {}; | ||
module.Request.prototype.getMethodDescriptor = function() {}; | ||
module.Request.prototype.getMetadata = function() {}; | ||
module.Request.prototype.getCallOptions = function() {}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
spring/src/main/js/reservdjs/node_modules/grpc-web/externs.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
103 changes: 53 additions & 50 deletions
103
spring/src/main/js/reservdjs/node_modules/grpc-web/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
spring/src/main/js/reservdjs/node_modules/grpc-web/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
spring/src/main/js/reservdjs/node_modules/grpc-web/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.