Skip to content

Commit 0adca20

Browse files
committed
Remove HTTP driver support
1 parent 046d9b1 commit 0adca20

10 files changed

+0
-2206
lines changed

src/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import RoutingDriver from './routing-driver'
3939
import VERSION from './version'
4040
import { assertString, isEmptyObjectOrNull } from './internal/util'
4141
import urlUtil from './internal/url-util'
42-
import HttpDriver from './internal/http/http-driver'
4342
import { isPoint, Point } from './spatial-types'
4443
import {
4544
Date,
@@ -260,8 +259,6 @@ function driver (url, authToken, config = {}) {
260259
authToken,
261260
config
262261
)
263-
} else if (parsedUrl.scheme === 'http' || parsedUrl.scheme === 'https') {
264-
return new HttpDriver(parsedUrl, USER_AGENT, authToken, config)
265262
} else {
266263
throw new Error(`Unknown scheme: ${parsedUrl.scheme}`)
267264
}

src/internal/http/http-driver.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/internal/http/http-request-runner.js

Lines changed: 0 additions & 214 deletions
This file was deleted.

0 commit comments

Comments
 (0)