UNPKG
@dataswift/hat-js
Version:
latest (0.5.0)
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.8
0.1.7
0.1.6
0.1.4
0.1.3
0.1.2
0.1.1
HAT JavaScript SDK for web and Node.js
@dataswift/hat-js
/
lib
/
utils
/
Utils.d.ts
6 lines
(5 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
HatHttpParameters
}
from
'../interfaces/http.interface'
;
export
declare
class
Utils
{
static
buildRequestURL
:
(
url
:
string
,
params
?:
HatHttpParameters
|
undefined
) =>
string
;
static
getProtocol
:
(
ssl
?:
boolean
|
undefined
) =>
"http://"
|
"https://"
; }