JavaScript API
The PubSub+ Messaging API for Javascript, version 10.17, allows web browsers and mobile client applications to send and receive messages with PubSub+ event brokers.
The PubSub+ Javascript API shares the same asynchronous and non-blocking programming model as the PubSub+ Python API, PubSub+ Go API, and PubSub+ Node.js API. The difference is that it is packaged differently, and optimized for Javascript.
Message Exchange Patterns
The Solace PubSub+ Messaging API for JavaScript supports all common message exchange patterns.
- Publish / Subscribe
- Point-to-Point
- Request / Reply
For more information, see Message Exchange Patterns.
Features
For the list of features that are supported for the PubSub+ Messaging API for JavaScript, see Feature Support in PubSub+ Messaging APIs.
Get Started
Tutorials are provided to help you quickly get up-to-speed developing applications using the Solace PubSub+ Messaging API for JavaScript.
There are three ways you can get started using a PubSub+ event broker:
- If you have PubSub+ event brokers already deployed, obtain the hostname or IP address of an event broker to test against, a username and password to access it, and a Message VPN in which you can produce and consume messages.
- You can set up a software event broker as a container image. For more information, see Setting Up Container Images.
- You can spin up an event broker service, which is a SaaS-based software event broker running in PubSub+ Cloud.
JavaScript API Reference
Click below to access the API reference for the Solace PubSub+ Messaging API for JavaScript.
JavaScript Release Notes
Click below to download the latest release notes for the Solace PubSub+ Messaging API for JavaScript.