mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Merge pull request #88 from nats-io/response_type
Mentioning response_type in accounts.
This commit is contained in:
commit
76236fff37
@ -63,6 +63,7 @@ The export configuration map binds a subject for use as a `service` or `stream`
|
||||
| `stream` | A subject or subject with wildcards that the account will publish. \(exclusive of `service`\) |
|
||||
| `service` | A subject or subject with wildcards that the account will subscribe to. \(exclusive of `stream`\) |
|
||||
| `accounts` | A list of account names that can import the stream or service. If not specified, the service or stream is public and any account can import it. |
|
||||
| `response_type` | Indicates if a response to a `service` request consists of a `single` or a `stream` of messages. Possible values are: `single` or `stream`. \(Default value is `singleton`\) |
|
||||
|
||||
Here are some example exports:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user