axum-test 16.4.0

For spinning up and testing Axum servers
Documentation
1
2
3
4
5
6
7
8
9
use hyper::upgrade::OnUpgrade;

use crate::transport_layer::TransportLayerType;

#[derive(Clone, Debug)]
pub struct TestResponseWebSocket {
    pub maybe_on_upgrade: Option<OnUpgrade>,
    pub transport_type: TransportLayerType,
}