plume-url
plume-url
Loading versions...
Search...
K
Toggle Sidebar
class
PlumeURLREST
export
default
class
PlumeURLREST
Table of contents
Properties
baseURL
defaultUserAgent
options
Methods
get
post
request
Constructors
constructor
(
options
?:
PlumeURLRESTOptions
)
Constructs a new instance of the
PlumeURLREST
class
Properties
static
readonly
baseURL
:
string
static
readonly
defaultUserAgent
:
string
readonly
options
:
PlumeURLRESTOptions
Methods
get
<
T
? =
unknown
>(
path
:
string
) :
Promise
<T>
post
<
T
? =
unknown
>(
path
:
string
body
?:
object
) :
Promise
<T>
request
(
method
:
string
path
:
string
body
?:
object
) :
Promise
<
Response
>