1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

update ws docs

This commit is contained in:
Nikolay Kim
2017-10-07 22:41:02 -07:00
parent f2d20514fa
commit a021a06743
5 changed files with 108 additions and 37 deletions

View File

@ -51,7 +51,7 @@ impl Route for MyRoute {
fn request(req: HttpRequest, payload: Option<Payload>,
ctx: &mut HttpContext<Self>) -> HttpMessage<Self>
{
Self::http_reply(req, httpcodes::HTTPOk)
HttpMessage::reply_with(req, httpcodes::HTTPOk)
}
}