mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
better naming
This commit is contained in:
@ -25,9 +25,9 @@ impl Route for MyRoute {
|
||||
{
|
||||
if let Some(pl) = payload {
|
||||
ctx.add_stream(pl);
|
||||
HttpMessage::Stream(MyRoute{req: Some(req)})
|
||||
Self::stream(MyRoute{req: Some(req)})
|
||||
} else {
|
||||
HttpMessage::Reply(req, httpcodes::HTTPOk)
|
||||
Self::reply(req, httpcodes::HTTPOk)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user