Skip to content

Commit 57ebbb7

Browse files
author
David Witherspoon
committed
Merge branch 'release/1.0.0'
2 parents d83433f + 5efa62d commit 57ebbb7

75 files changed

Lines changed: 9891 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,7 @@ DerivedData
8282
*.x86_64
8383
*.hex
8484

85+
86+
amqp/node_modules/
87+
jms/node_modules/
88+
ws/node_modules/

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Kaazing WebSocket Tutorials for JavaScript
2+
3+
This repository contains solutions for building JavaScript client applications for Android, iOS Classic an iOS Unified using Kaazing WebSocket API.
4+
- [Kaazing AMQP Websocket Application](amqp)
5+
- [Kaazing JMS WebSocket Applications](jms)
6+
- [Kaazing WebSocket Applications](ws)
7+

amqp/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Kaazing JavaScript WebSocket AMQP Tutorial
2+
3+
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.
4+
5+
## Minimum Requirements for Running or Building Kaazing JavaScript Desktop WebSocket AMQP Tutorial
6+
7+
* Node.js version 4.4 and higher
8+
* NPM v 3.9.5 and higher
9+
10+
To update NPM to the latest version:
11+
`
12+
sudo npm install npm -g
13+
`
14+
15+
16+
## Steps for building and running the project
17+
18+
* In a terminal, navigate to the folder for a tutorial, such as `javascript.client.tutorials/amqp`.
19+
* Enter `npm install` to build the tutorial.
20+
* Enter `node server.js` to run the included Node.js server component (server.js).
21+
* In a browser, open the URL `http://localhost:3000/`.
22+
23+
__Note:__ To test basic authentication for WebSocket connection in demo app use URL - wss://sandbox.kaazing.net/amqp091-auth for location.
24+
25+
## Interact with Kaazing JavaScript WebSocket Client API
26+
27+
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).
28+
29+
## API Documentation
30+
31+
API Documentation for Kaazing JavaScript WebSocket AMQP Client library is available:
32+
33+
* [Kaazing AMQP](https://kaazing.com/doc/amqp/4.0/apidoc/client/javascript/amqp/index.html)

amqp/css/demo-ie.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
footer.wrapper .section {
2+
min-height: 230px; }
3+
4+
ul.breadcrumbs li {
5+
margin-right: 10px; }
6+
7+
#demo-list div.demo {
8+
height: 200px; }

0 commit comments

Comments
 (0)