mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Update pingpong.md
This commit is contained in:
parent
c349004ad5
commit
6ed8d23fa0
@ -2,16 +2,7 @@
|
||||
|
||||
The client and server use a simple PING/PONG protocol to check that they are both still connected. The client will ping the server on a regular, configured interval so that the server usually doesn't have to initiate the PING/PONG interaction.
|
||||
|
||||
<div class="graphviz"><code data-viz="dot">
|
||||
digraph g {
|
||||
rankdir=LR
|
||||
client [shape=box, style="rounded", label="NATS Client"];
|
||||
natsserver [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"];
|
||||
|
||||
client -> natsserver [label="PING"];
|
||||
natsserver -> client [label="PONG"];
|
||||
}
|
||||
</code></div>
|
||||

|
||||
|
||||
## Set the Ping Interval
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user