# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/zx6bmna
gRPC 客戶端長連接機制實現及 keepalive 分析**
0x00 前言-------HTTP2 是一個全雙工的流式協議, 服務端也可以主動 ping 客戶端, 且服務端還會有一些檢測連接可用性和控制客戶端 ping 包頻率的配置。gRPC 就是採用 HTTP2 來作爲其基礎通信模式的,所以默認的 gRPC 客戶端都是長連接。有這麼一種場景,需要客戶端和服務端保持持久的長連接,即無論服務端、客戶端異常斷開或重啓,長連接都要具備重試保活(當然前提是兩方重啓 ⌘ Read more