mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
updating docs
This commit is contained in:
@@ -2354,7 +2354,7 @@
|
||||
<section class="normal markdown-section">
|
||||
|
||||
<h1 id="including-a-reply-subject"><a name="including-a-reply-subject" class="plugin-anchor" href="#including-a-reply-subject"><i class="fa fa-link" aria-hidden="true"></i></a>Including a Reply Subject</h1>
|
||||
<p>The optional reply-to field when publishing a message can be used on the receiving side to respond. The reply-to subject is often called an <em>inbox</em>, and some libraries may provide a method for generating unique inbox subjects. For example to send a request to the subject <code>time</code>, with no content for the messages, you might:</p>
|
||||
<p>The optional reply-to field when publishing a message can be used on the receiving side to respond. The reply-to subject is often called an <em>inbox</em>, and most libraries may provide a method for generating unique inbox subjects. Most libraries also provide for the request-reply pattern with a single call. For example to send a request to the subject <code>time</code>, with no content for the messages, you might:</p>
|
||||
<div class="tab-wrap">
|
||||
|
||||
|
||||
@@ -2582,7 +2582,7 @@ nc<span class="token punctuation">.</span><span class="token function">publish</
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Including a Reply Subject","level":"3.6.1","depth":2,"next":{"title":"Request-Reply Semantics","level":"3.6.2","depth":2,"path":"developer/sending/request_reply.md","ref":"developer/sending/request_reply.md","articles":[]},"previous":{"title":"Sending Messages","level":"3.6","depth":1,"path":"developer/sending/intro.md","ref":"developer/sending/intro.md","articles":[{"title":"Including a Reply Subject","level":"3.6.1","depth":2,"path":"developer/sending/replyto.md","ref":"developer/sending/replyto.md","articles":[]},{"title":"Request-Reply Semantics","level":"3.6.2","depth":2,"path":"developer/sending/request_reply.md","ref":"developer/sending/request_reply.md","articles":[]},{"title":"Caches, Flush and Ping","level":"3.6.3","depth":2,"path":"developer/sending/caches.md","ref":"developer/sending/caches.md","articles":[]},{"title":"Sending Structured Data","level":"3.6.4","depth":2,"path":"developer/sending/structure.md","ref":"developer/sending/structure.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"include-html":{},"toggle-chapters":{},"anchors":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"developer/sending/replyto.md","mtime":"2019-05-30T22:52:52.235Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-06-05T22:32:29.333Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Including a Reply Subject","level":"3.6.1","depth":2,"next":{"title":"Request-Reply Semantics","level":"3.6.2","depth":2,"path":"developer/sending/request_reply.md","ref":"developer/sending/request_reply.md","articles":[]},"previous":{"title":"Sending Messages","level":"3.6","depth":1,"path":"developer/sending/intro.md","ref":"developer/sending/intro.md","articles":[{"title":"Including a Reply Subject","level":"3.6.1","depth":2,"path":"developer/sending/replyto.md","ref":"developer/sending/replyto.md","articles":[]},{"title":"Request-Reply Semantics","level":"3.6.2","depth":2,"path":"developer/sending/request_reply.md","ref":"developer/sending/request_reply.md","articles":[]},{"title":"Caches, Flush and Ping","level":"3.6.3","depth":2,"path":"developer/sending/caches.md","ref":"developer/sending/caches.md","articles":[]},{"title":"Sending Structured Data","level":"3.6.4","depth":2,"path":"developer/sending/structure.md","ref":"developer/sending/structure.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"include-html":{},"toggle-chapters":{},"anchors":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"developer/sending/replyto.md","mtime":"2019-06-07T14:58:27.247Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-06-07T14:58:58.173Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user