From 710bd64dc122d6b3f8cdf4fce0b0ab4e8a4b1c68 Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Thu, 16 Feb 2017 23:05:00 -0500 Subject: [PATCH] Fixes names of http.Request and http.Response --- selenium-webdriver/http.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selenium-webdriver/http.d.ts b/selenium-webdriver/http.d.ts index abe54a518e..4fc12afb19 100644 --- a/selenium-webdriver/http.d.ts +++ b/selenium-webdriver/http.d.ts @@ -13,7 +13,7 @@ export function headersToString(headers: any): string; * responsibility to build the full URL for the final request. * @final */ -export class HttpRequest { +export class Request { /** * @param {string} method The HTTP method to use for the request. * @param {string} path The path on the server to send the request to. @@ -29,7 +29,7 @@ export class HttpRequest { * Represents a HTTP response message. * @final */ -export class HttpResponse { +export class Response { /** * @param {number} status The response code. * @param {!Object} headers The response headers. All header names @@ -70,7 +70,7 @@ export class HttpClient { * @return {!promise.Promise} A promise that will be fulfilled * with the server's response. */ - send(httpRequest: HttpRequest): webdriver.promise.Promise; + send(httpRequest: Request): webdriver.promise.Promise; } /** @@ -139,7 +139,7 @@ export function tryParse(str: string): any; * @return {{value: ?}} The parsed response. * @throws {WebDriverError} If the HTTP response is an error. */ -export function parseHttpResponse(httpResponse: HttpResponse, w3c: boolean): any; +export function parseHttpResponse(httpResponse: Response, w3c: boolean): any; /** * Builds a fully qualified path using the given set of command parameters. Each