API documentation  2.0rc1
Public Member Functions | List of all members
client::Body Class Reference

#include <clientlib.h>

Inherits client::Object.

Inherited by client::Request, and client::Response.

Public Member Functions

bool get_bodyUsed ()
 
PromisearrayBuffer ()
 
Promiseblob ()
 
PromiseformData ()
 
Promisejson ()
 
Promisetext ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Member Function Documentation

◆ arrayBuffer()

Promise* client::Body::arrayBuffer ( )

◆ blob()

Promise* client::Body::blob ( )

◆ formData()

Promise* client::Body::formData ( )

◆ get_bodyUsed()

bool client::Body::get_bodyUsed ( )

◆ json()

Promise* client::Body::json ( )

◆ text()

Promise* client::Body::text ( )