update readme
This commit is contained in:
@@ -209,7 +209,7 @@ NATS.publish(conn, "test.topic", envelope_json_str; reply_to="test.replytopic")
|
||||
NATS.drain(conn)
|
||||
|
||||
# OR
|
||||
reply = NATS.request("nats.yiem.cc", "test.topic", env_json_str)
|
||||
reply = NATS.request(conn, "test.topic", envelope_json_str, timeout=10)
|
||||
```
|
||||
|
||||
#### JavaScript (Node.js)
|
||||
|
||||
Reference in New Issue
Block a user