added docs for XhrTransport