-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
9,891 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,3 +82,7 @@ DerivedData | |
*.x86_64 | ||
*.hex | ||
|
||
|
||
amqp/node_modules/ | ||
jms/node_modules/ | ||
ws/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Kaazing WebSocket Tutorials for JavaScript | ||
|
||
This repository contains solutions for building JavaScript client applications for Android, iOS Classic an iOS Unified using Kaazing WebSocket API. | ||
- [Kaazing AMQP Websocket Application](amqp) | ||
- [Kaazing JMS WebSocket Applications](jms) | ||
- [Kaazing WebSocket Applications](ws) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Kaazing JavaScript WebSocket AMQP Tutorial | ||
|
||
This tutorial shows how JavaScript application can communicate over the web with an AMQP server via Kaazing WebSocket Gateway using Kaazing JavaScript WebSocket Client library. The application publishes text messages to the server and listens to the messages from the server over WebSocket. | ||
|
||
## Minimum Requirements for Running or Building Kaazing JavaScript Desktop WebSocket AMQP Tutorial | ||
|
||
* Node.js version 4.4 and higher | ||
* NPM v 3.9.5 and higher | ||
|
||
To update NPM to the latest version: | ||
` | ||
sudo npm install npm -g | ||
` | ||
|
||
|
||
## Steps for building and running the project | ||
|
||
* In a terminal, navigate to the folder for a tutorial, such as `javascript.client.tutorials/amqp`. | ||
* Enter `npm install` to build the tutorial. | ||
* Enter `node server.js` to run the included Node.js server component (server.js). | ||
* In a browser, open the URL `http://localhost:3000/`. | ||
|
||
__Note:__ To test basic authentication for WebSocket connection in demo app use URL - wss://sandbox.kaazing.net/amqp091-auth for location. | ||
|
||
## Interact with Kaazing JavaScript WebSocket Client API | ||
|
||
Checklist how to create Kaazing JavaScript WebSocket AMQP application from scratch, to be able to send and receive messages over WebSocket can be found [here](http://kaazing.com/doc/5.0/amqp_client_docs/dev-js/o_dev_js.html). | ||
|
||
## API Documentation | ||
|
||
API Documentation for Kaazing JavaScript WebSocket AMQP Client library is available: | ||
|
||
* [Kaazing AMQP](https://kaazing.com/doc/amqp/4.0/apidoc/client/javascript/amqp/index.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
footer.wrapper .section { | ||
min-height: 230px; } | ||
|
||
ul.breadcrumbs li { | ||
margin-right: 10px; } | ||
|
||
#demo-list div.demo { | ||
height: 200px; } |
Oops, something went wrong.