Skip to content

Commit 1b7bf83

Browse files
Add Granian to servers (#12)
Co-authored-by: Giovanni Barillari <giovanni.barillari@sentry.io>
1 parent ef909ce commit 1b7bf83

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

blacksheep/docs/asgi.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
BlackSheep is an [ASGI](https://asgi.readthedocs.io/en/latest/) web framework,
44
which requires an ASGI HTTP server to run, such as
55
[Uvicorn](http://www.uvicorn.org/), or
6-
[Hypercorn](https://pgjones.gitlab.io/hypercorn/). All examples in this
6+
[Hypercorn](https://pgjones.gitlab.io/hypercorn/) or
7+
[granian](https://github.com/emmett-framework/granian). All examples in this
78
documentation use `Uvicorn`, but the framework has also been tested with
89
Hypercorn and should work with any server that implements the `ASGI`
910
specification.

blacksheep/docs/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ python -m venv venv
4242

4343
BlackSheep is an [ASGI](https://asgi.readthedocs.io/en/latest/) web framework,
4444
so it requires an ASGI HTTP server like [uvicorn](http://www.uvicorn.org/), or
45-
[hypercorn](https://pgjones.gitlab.io/hypercorn/). Install `uvicorn` and
45+
[hypercorn](https://pgjones.gitlab.io/hypercorn/) or
46+
[granian](https://github.com/emmett-framework/granian). Install `uvicorn` and
4647
`blacksheep` for this tutorial:
4748

4849
```bash

blacksheep/docs/websocket.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ real-time applications, such as chat apps and similar use cases.
66

77
BlackSheep can handle incoming WebSocket connections when used with an ASGI
88
server that supports the WebSocket protocol (e.g.,
9-
[Uvicorn](https://www.uvicorn.org/#quickstart) or
10-
[Hypercorn](https://pgjones.gitlab.io/hypercorn/)).
9+
[Uvicorn](https://www.uvicorn.org/#quickstart),
10+
[Hypercorn](https://pgjones.gitlab.io/hypercorn/) or
11+
[Granian](https://github.com/emmett-framework/granian)).
1112

1213
## Creating a WebSocket route
1314

0 commit comments

Comments
 (0)