• Niklas Adolfsson's avatar
    merge v2 to master (#180) · 61656562
    Niklas Adolfsson authored
    * update http example
    
    * ungeneric crate
    
    * update dependencies
    
    * [client]: add WebSocket client again.
    
    * [deps]: remove needless dev dependencies
    
    * nits: forgot to commit new files
    
    * [ws client]: `send_text` instead of `send_binary`
    
    This is temporary fix to work with the `server` which assumes that
    `WebSocket` resonses are `text`
    
    * chore: add a bunch of more logging
    
    * [ws]: port tests but some are failing.
    
    * chore: fmt
    
    * [server API]: expose `fn local_addr` as public API.
    
    * [tests]: make them less ugly by using `127.0.0.1:0`
    
    * fix: a bunch of compiler warnings.
    
    * [api]: uniform naming, `bind -> new` in transport.
    
    * [websocket server]: reply when deserial fails
    
    When the server receives an request with invalid JSON
    `-32700, Parse error shall be returned`
    
    * chore: fmt
    
    * [tests]: fix remaining tests
    
    * [websocket server]: support `binary` and `text`
    
    * [ws server]: fix bug in subscription response.
    
    `.await` was missing in ...
    61656562