UNPKG
thawani-nodejs
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Node.js library for Thawani Payment Gateway
thawani-nodejs
/
dist
/
utils
/
http-client.d.ts
9 lines
(8 loc)
•
284 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
AxiosRequestConfig
}
from
'axios'
;
export
declare
class
HttpClient
{
private
readonly
apiKey;
private
client;
constructor
(
baseURL
:
string
,
apiKey
:
string
,
timeout
?:
number
);
private
setupInterceptors; request<T>(
config
:
AxiosRequestConfig
):
Promise
<T>; }