• Niklas Adolfsson's avatar
    replace `WS and HTTP servers` with a server that supports both `WS and HTTP` (#863) · bf73876d
    Niklas Adolfsson authored
    
    
    * ws server: support both http and ws
    
    * clean things up
    
    * ws server: add http logger and ws logger
    
    * more cleanup
    
    * fix nits
    
    * middleware example
    
    * remove http and ws server crates
    
    * move things around
    
    * some minor fixes
    
    * fix stop in http context
    
    * fix tests
    
    * fix features
    
    * use header constants
    
    * remove access_control & expose only host filtering
    
    CORS has been removed to tower middleware and doesn't need to supported anymore
    
    * fix merge logging traits + move to server
    
    * supress warnings faulty dead code
    
    * remove unwrap
    
    * support http2
    
    * doesnt work
    
    * feat: simpler stop handling
    
    * Update server/src/future.rs
    
    * some cleanup
    
    * Update server/src/future.rs
    
    Co-authored-by: default avatarAlexandru Vasile <[email protected]>
    
    * Update server/src/future.rs
    
    Co-authored-by: default avatarAlexandru Vasile <[email protected]>
    
    * fix nits
    
    * address grumbles
    
    * commit examples and nits
    
    * clarify comment
    
    * remove noise
    
    * remove impl Future for ServerHandle
    
    * remove needless async {}
    
    * add http2 test
    
    * add ServerBuilder::build_from_tcp
    
    * fix super nit: no more Option<SocketAddr>
    
    * fix Option<SocketAddr>
    
    * Update server/src/future.rs
    
    Co-authored-by: default avatarAlexandru Vasile <[email protected]>
    
    * Update server/src/future.rs
    
    Co-authored-by: default avatarAlexandru Vasile <[email protected]>
    
    Co-authored-by: default avatarAlexandru Vasile <[email protected]>
    bf73876d