File: README.md

package info (click to toggle)
python-autobahn 0.14.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,132 kB
  • ctags: 3,069
  • sloc: python: 18,460; makefile: 285; sh: 3
file content (22 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## WAMP-Klein Application

This example demonstrates combining a [Klein](https://github.com/twisted/klein) Web application with a Autobahn WAMP application.

> Klein essentially is Flask for Twisted Web.

### Running the Example

Install dependencies:

```shell
pip install autobahn[twisted] jinja2 klein
```

Start the server side:


```shell
python server.py
```

Open [http://localhost:8080](http://localhost:8080) in your browser.