aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-common.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-01-29 21:58:35 +0100
committerFlorian Dold <florian@dold.me>2024-01-29 21:58:39 +0100
commit2c9c3d4cdf3f59eabbb47327f78966b781d77256 (patch)
tree17d36c45e67bd12e0beaaf4d5524423419ac2836 /packages/taler-util/src/http-common.ts
parent7b83d8f8dd220e04a26b33b03afc5f989cc5d1fb (diff)
downloadwallet-core-2c9c3d4cdf3f59eabbb47327f78966b781d77256.tar.xz
remove deprecated http client lib methods
Diffstat (limited to 'packages/taler-util/src/http-common.ts')
-rw-r--r--packages/taler-util/src/http-common.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/taler-util/src/http-common.ts b/packages/taler-util/src/http-common.ts
index 68e1d2816..705881801 100644
--- a/packages/taler-util/src/http-common.ts
+++ b/packages/taler-util/src/http-common.ts
@@ -106,28 +106,6 @@ export class Headers {
*/
export interface HttpRequestLibrary {
/**
- * Make an HTTP GET request.
- *
- * FIXME: Get rid of this, we want the API surface to be minimal.
- *
- * @deprecated use fetch instead
- */
- get(url: string, opt?: HttpRequestOptions): Promise<HttpResponse>;
-
- /**
- * Make an HTTP POST request with a JSON body.
- *
- * FIXME: Get rid of this, we want the API surface to be minimal.
- *
- * @deprecated use fetch instead
- */
- postJson(
- url: string,
- body: any,
- opt?: HttpRequestOptions,
- ): Promise<HttpResponse>;
-
- /**
* Make an HTTP POST request with a JSON body.
*/
fetch(url: string, opt?: HttpRequestOptions): Promise<HttpResponse>;