Skip to content

Commit

Permalink
Update protobuf.md (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangruiEmma authored Nov 29, 2024
1 parent 2750040 commit c618588
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ Specify the IDL type as Protobuf when generating code (Kitex will prioritize usi
#### Client

```sh
kitex -type protobuf -I idl/ idl/${proto_name}.proto
kitex -I idl/ idl/${idl_name}.proto
```

#### Server

```sh
kitex -type thrift -service ${service_name} ${idl_name}.thrift
kitex -service ${service_name} -I idl/ idl/${idl_name}.proto
```

### Using gRPC as the Transport Protocol
Expand Down

0 comments on commit c618588

Please sign in to comment.