Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
David Witherspoon committed Jun 20, 2016
2 parents d83433f + 5efa62d commit 57ebbb7
Show file tree
Hide file tree
Showing 75 changed files with 9,891 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ DerivedData
*.x86_64
*.hex


amqp/node_modules/
jms/node_modules/
ws/node_modules/
7 changes: 7 additions & 0 deletions README.md
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)

33 changes: 33 additions & 0 deletions amqp/README.md
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)
8 changes: 8 additions & 0 deletions amqp/css/demo-ie.css
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; }
Loading

0 comments on commit 57ebbb7

Please sign in to comment.