diff options
| author | Fuwn <[email protected]> | 2021-05-23 13:51:20 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-23 13:51:20 +0000 |
| commit | 59cd17d4b5b1eff2847a954012eb916db4ef5116 (patch) | |
| tree | 4074d9935949a48c64fdaa8503ae9ddc61e7678e /crates/whirl_api/src | |
| parent | build(cargo): create a fast builds configuration for cargo (diff) | |
| download | whirl-59cd17d4b5b1eff2847a954012eb916db4ef5116.tar.xz whirl-59cd17d4b5b1eff2847a954012eb916db4ef5116.zip | |
docs(global): add new documentation
Diffstat (limited to 'crates/whirl_api/src')
| -rw-r--r-- | crates/whirl_api/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_api/src/lib.rs b/crates/whirl_api/src/lib.rs index e77e7d3..0b24953 100644 --- a/crates/whirl_api/src/lib.rs +++ b/crates/whirl_api/src/lib.rs @@ -22,6 +22,7 @@ mod routes; pub struct Api; impl Api { + /// Begin handling connections on the web-server. pub async fn listen( tx: std::sync::mpsc::Sender<actix_web::dev::Server>, address: &str, |