1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00

Guide: tweak to websocket and testing.

This commit is contained in:
memoryruins 2018-04-06 19:44:52 -04:00
parent 94b41fd484
commit 18b706d4fb
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ the websocket server and returns ws reader and writer objects. *TestServer* also
provides an `execute()` method, which runs future objects to completion and returns
result of the future computation.
The following example shows how to test a server websocket handler:
The following example demonstrates how to test a websocket handler:
```rust
# extern crate actix;

View File

@ -6,7 +6,7 @@ a [*ws::WsStream*](../actix_web/ws/struct.WsStream.html) and then use stream
combinators to handle actual messages, but it is simpler to handle websocket communications
with an http actor.
The following is example of a simple websocket echo server:
The following is an example of a simple websocket echo server:
```rust
# extern crate actix;