1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 09:59:21 +02:00

added HttpRequest::encoding() method; fix urlencoded parsing with charset

This commit is contained in:
Nikolay Kim
2018-02-27 11:31:54 -08:00
parent 5dcb558f50
commit 6c480fae90
7 changed files with 127 additions and 28 deletions

View File

@ -130,8 +130,7 @@ impl Actor for Ws {
type Context = ws::WebsocketContext<Self>;
}
impl Handler<ws::Message> for Ws {
type Result = ();
impl StreamHandler<ws::Message, ws::WsError> for Ws {
fn handle(&mut self, msg: ws::Message, ctx: &mut Self::Context) {
match msg {