Subscribe subscribes the client to the provided subscriptions list.
Each subscription can also have "options" (json serialized SubscriptionOptions) as query parameter.
Example:
Subscribe(
"subscriptionA",
`subscriptionB?options={"query":{"a":1},"headers":{"x_token":"abc"}}`,
)
Rest
...subs: string[]Subscriptions returns a shallow copy of the client subscriptions matching the prefixes. If no prefix is specified, returns all subscriptions.
Rest
...prefixes: string[]Generated using TypeDoc
Client is an interface for a generic subscription client.