---
title: "Discussion on \"【夜读源码】grpc-java  客户端发送 （一）\" | Hashnode"
description: "Discussion on \"【夜读源码】grpc-java  客户端发送 （一）\". 快速回顾\n接上文，一次 grpc 的请求包括四个步骤，客户端发送请求到网络，是第一步。发送过程，Stub 把请求传给了ClientCall， ClientCall 传给了 ClientStream，ClientStream 有Netty 的实现，内部会把数据传输到网络上。\n本文主要介绍 blockingUnaryCall 是如何使用 ClientCall ClientChannel 工作的， waitAndDrain 和 ClientCall 的方法如何对应。\nStub 外层简述\n最外层的Stu..."
url: "https://hashnode.com/posts/grpc-java-client-1/631471b6d49bb9d8c2f75e74"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [【夜读源码】grpc-java 客户端发送 （一）](https://xiaok.me/grpc-java-client-1?utm_source=hashnode&utm_medium=feed)

快速回顾 接上文，一次 grpc 的请求包括四个步骤，客户端发送请求到网络，是第一步。发送过程，Stub 把请求传给了ClientCall， ClientCall 传给了 ClientStream，ClientStream 有Netty 的实现，内部会把数据传输到网络上。 本文主要介绍 blockingUnaryCall 是如何使用 ClientCall ClientChannel 工作的， waitAndDrain 和 ClientCall 的方法如何对应。 Stub 外层简述 最外层的Stu...

Sep 4, 2022 · 4 min read · xiaok.me  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#grpc](https://hashnode.com/tag/grpc)

## Written by

[xiao kun](https://hashnode.com/@shalk)

@shalk

  
[View profile](https://hashnode.com/@shalk)

coding your life

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
