pub type Transport = Either<WebSocket, Http>;