Skip to content

Commit 080bc5c

Browse files
authored
updated documentation to accurately reflect the existing API (#1066)
1 parent 80f5543 commit 080bc5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/grpc-web/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ grpc.unary(BookService.GetBook, {
4545
});
4646
```
4747

48-
* Requests can be aborted/cancelled before they complete:
48+
* Requests can be aborted/closed before they complete:
4949

5050
```javascript
5151
const request = grpc.unary(BookService.GetBook, { ... });
52-
request.cancel();
52+
request.close();
5353
```
5454

5555
## Available Request Functions

0 commit comments

Comments
 (0)