Skip to content

Commit

Permalink
Merge pull request #987 from ceball/docs_fixup
Browse files Browse the repository at this point in the history
Documentation: update PerspectiveTornadoServer to PerspectiveTornadoHandler
  • Loading branch information
texodus authored Mar 21, 2020
2 parents 2a38eb9 + 3a9d521 commit 2fc7c36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/md/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ hosting an endpoint at which a `table()` can be accessed:
_*server.py*_

```python
from perspective import Table, PerspectiveManager, PerspectiveTornadoServer
from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler

# Create an instance of PerspectiveManager, and host a Table
MANAGER = PerspectiveManager()
Expand Down
6 changes: 3 additions & 3 deletions docs/md/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ the Python kernel, and returns the results of the operation to the browser.
All of this is _enabled_ through `PerspectiveManager`, which handles messaging,
processing method calls, serializing outputs for the network, etc.

In Python, use `PerspectiveManager` and `PerspectiveTornadoServer` to create
In Python, use `PerspectiveManager` and `PerspectiveTornadoHandler` to create
a websocket server that exposes a `Table`:

_*server.py*_

```python
from perspective import Table, PerspectiveManager, PerspectiveTornadoServer
from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler

# Create an instance of PerspectiveManager, and host a Table
MANAGER = PerspectiveManager()
Expand Down Expand Up @@ -298,7 +298,7 @@ _*index.html*_

### Using a hosted `View` in Javascript

An alternative client/server architecture using `PerspectiveTornadoServer` and
An alternative client/server architecture using `PerspectiveTornadoHandler` and
`PerspectiveManager` involves hosting a `View`, and creating a new `table()` in
Javascript on top of the Python `View`.

Expand Down

0 comments on commit 2fc7c36

Please sign in to comment.