Skip to content

Commit e7589b8

Browse files
committed
docs: fix typos with gRPC stream section
1 parent 6e06a6e commit e7589b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/microservices/grpc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ syntax = "proto3";
330330
package hello;
331331

332332
service HelloService {
333-
rpc BidiHello(stream HelloRequest) returns (stream HelloResponse)
334-
rpc LotsOfGreetings(stream HelloRequest) returns (HelloResponse)
333+
rpc BidiHello(stream HelloRequest) returns (stream HelloResponse);
334+
rpc LotsOfGreetings(stream HelloRequest) returns (HelloResponse);
335335
}
336336

337337
message HelloRequest {
@@ -392,7 +392,7 @@ According to the service definition (in the `.proto` file), the `BidiHello` meth
392392

393393
```typescript
394394
const helloService = this.client.getService<HelloService>('HelloService');
395-
const helloRequest$ = new ReplySubject<HelloRequest>();
395+
const helloRequest$ = new ReplaySubject<HelloRequest>();
396396

397397
helloRequest$.next({ greeting: 'Hello (1)!' });
398398
helloRequest$.next({ greeting: 'Hello (2)!' });

0 commit comments

Comments
 (0)