1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 00:44:26 +02:00

add websockets context

This commit is contained in:
Nikolay Kim
2019-03-17 22:02:03 -07:00
parent 88152740c6
commit fd3e351c31
7 changed files with 490 additions and 7 deletions

View File

@ -198,10 +198,9 @@ mod tests {
use std::time::Duration;
use actix::Actor;
use actix_web::dev::HttpMessageBody;
use actix_web::http::StatusCode;
use actix_web::test::{block_on, call_success, init_service, TestRequest};
use actix_web::{web, App, HttpRequest, HttpResponse};
use actix_web::{web, App, HttpResponse};
use bytes::{Bytes, BytesMut};
use super::*;