summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/http.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-12 22:27:50 +0200
committerFlorian Dold <florian@dold.me>2022-10-12 22:27:50 +0200
commitded00b680a776d03cd8c928354c87c0be8690f56 (patch)
tree2608e9c7ba1ce8bfb105a421c56cdc201a78f3c9 /packages/taler-wallet-core/src/util/http.ts
parent3da1e82a245851c384c22293c928fcef1c4c2f34 (diff)
downloadwallet-core-ded00b680a776d03cd8c928354c87c0be8690f56.tar.gz
wallet-core-ded00b680a776d03cd8c928354c87c0be8690f56.tar.bz2
wallet-core-ded00b680a776d03cd8c928354c87c0be8690f56.zip
wallet-core: implement enabling/disabling dev mode
Diffstat (limited to 'packages/taler-wallet-core/src/util/http.ts')
-rw-r--r--packages/taler-wallet-core/src/util/http.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/util/http.ts b/packages/taler-wallet-core/src/util/http.ts
index 58edd289b..0489f920b 100644
--- a/packages/taler-wallet-core/src/util/http.ts
+++ b/packages/taler-wallet-core/src/util/http.ts
@@ -111,11 +111,15 @@ export class Headers {
export interface HttpRequestLibrary {
/**
* Make an HTTP GET request.
+ *
+ * FIXME: Get rid of this, we want the API surface to be minimal.
*/
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.
*/
postJson(
url: string,