Preparing search index...
The search index is not available
@hubspot/api-client
@hubspot/api-client
marketing/transactional
SelfDecodingBody
Class SelfDecodingBody
Helper class to generate a
ResponseBody
from binary data
Implements
ResponseBody
Index
Constructors
constructor
Methods
binary
text
Constructors
constructor
new
Self
Decoding
Body
(
dataSource
)
:
SelfDecodingBody
Parameters
dataSource
:
Promise
<
Buffer
>
Returns
SelfDecodingBody
Methods
binary
binary
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
text
text
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
binary
text
@hubspot/api-client
Loading...
Helper class to generate a
ResponseBody
from binary data