diff options
author | Florian Dold <florian@dold.me> | 2023-04-05 17:38:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-05 17:38:41 +0200 |
commit | 2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5 (patch) | |
tree | 9d6fe1e025f89cea0e044f8bba53f67e7d04a77f /packages/taler-util/src/http-common.ts | |
parent | 8eee38d55936c194637ecead302dde69ec0b9897 (diff) | |
download | wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.tar.gz wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.tar.bz2 wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.zip |
wallet-core: towards DD37 for deposits
Diffstat (limited to 'packages/taler-util/src/http-common.ts')
-rw-r--r-- | packages/taler-util/src/http-common.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-util/src/http-common.ts b/packages/taler-util/src/http-common.ts index e5dd92567..1329c8a55 100644 --- a/packages/taler-util/src/http-common.ts +++ b/packages/taler-util/src/http-common.ts @@ -104,6 +104,8 @@ 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>; @@ -111,6 +113,8 @@ export interface HttpRequestLibrary { * 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, |