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