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

#include <clientlib.h>

Inherits client::Body.

Public Member Functions

ReadableStreamget_body ()
 
Headersget_headers ()
 
bool get_ok ()
 
bool get_redirected ()
 
double get_status ()
 
Stringget_statusText ()
 
Stringget_type ()
 
Stringget_url ()
 
Responseclone ()
 
Responseget_prototype ()
 
void set_prototype (Response *)
 
 Response ()
 
 Response (Blob *body)
 
 Response (Blob *body, ResponseInit *init)
 
 Response (Int8Array *body)
 
 Response (Int8Array *body, ResponseInit *init)
 
 Response (Int16Array *body)
 
 Response (Int16Array *body, ResponseInit *init)
 
 Response (Int32Array *body)
 
 Response (Int32Array *body, ResponseInit *init)
 
 Response (Uint8Array *body)
 
 Response (Uint8Array *body, ResponseInit *init)
 
 Response (Uint16Array *body)
 
 Response (Uint16Array *body, ResponseInit *init)
 
 Response (Uint32Array *body)
 
 Response (Uint32Array *body, ResponseInit *init)
 
 Response (Uint8ClampedArray *body)
 
 Response (Uint8ClampedArray *body, ResponseInit *init)
 
 Response (Float32Array *body)
 
 Response (Float32Array *body, ResponseInit *init)
 
 Response (Float64Array *body)
 
 Response (Float64Array *body, ResponseInit *init)
 
 Response (DataView *body)
 
 Response (DataView *body, ResponseInit *init)
 
 Response (ArrayBuffer *body)
 
 Response (ArrayBuffer *body, ResponseInit *init)
 
 Response (FormData *body)
 
 Response (FormData *body, ResponseInit *init)
 
 Response (const String &body)
 
 Response (const String &body, ResponseInit *init)
 
- Public Member Functions inherited from client::Body
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)
 

Constructor & Destructor Documentation

◆ Response() [1/29]

client::Response::Response ( )

◆ Response() [2/29]

client::Response::Response ( Blob body)

◆ Response() [3/29]

client::Response::Response ( Blob body,
ResponseInit init 
)

◆ Response() [4/29]

client::Response::Response ( Int8Array body)

◆ Response() [5/29]

client::Response::Response ( Int8Array body,
ResponseInit init 
)

◆ Response() [6/29]

client::Response::Response ( Int16Array body)

◆ Response() [7/29]

client::Response::Response ( Int16Array body,
ResponseInit init 
)

◆ Response() [8/29]

client::Response::Response ( Int32Array body)

◆ Response() [9/29]

client::Response::Response ( Int32Array body,
ResponseInit init 
)

◆ Response() [10/29]

client::Response::Response ( Uint8Array body)

◆ Response() [11/29]

client::Response::Response ( Uint8Array body,
ResponseInit init 
)

◆ Response() [12/29]

client::Response::Response ( Uint16Array body)

◆ Response() [13/29]

client::Response::Response ( Uint16Array body,
ResponseInit init 
)

◆ Response() [14/29]

client::Response::Response ( Uint32Array body)

◆ Response() [15/29]

client::Response::Response ( Uint32Array body,
ResponseInit init 
)

◆ Response() [16/29]

client::Response::Response ( Uint8ClampedArray body)

◆ Response() [17/29]

client::Response::Response ( Uint8ClampedArray body,
ResponseInit init 
)

◆ Response() [18/29]

client::Response::Response ( Float32Array body)

◆ Response() [19/29]

client::Response::Response ( Float32Array body,
ResponseInit init 
)

◆ Response() [20/29]

client::Response::Response ( Float64Array body)

◆ Response() [21/29]

client::Response::Response ( Float64Array body,
ResponseInit init 
)

◆ Response() [22/29]

client::Response::Response ( DataView body)

◆ Response() [23/29]

client::Response::Response ( DataView body,
ResponseInit init 
)

◆ Response() [24/29]

client::Response::Response ( ArrayBuffer body)

◆ Response() [25/29]

client::Response::Response ( ArrayBuffer body,
ResponseInit init 
)

◆ Response() [26/29]

client::Response::Response ( FormData body)

◆ Response() [27/29]

client::Response::Response ( FormData body,
ResponseInit init 
)

◆ Response() [28/29]

client::Response::Response ( const String body)

◆ Response() [29/29]

client::Response::Response ( const String body,
ResponseInit init 
)

Member Function Documentation

◆ clone()

Response* client::Response::clone ( )

◆ get_body()

ReadableStream* client::Response::get_body ( )

◆ get_headers()

Headers* client::Response::get_headers ( )

◆ get_ok()

bool client::Response::get_ok ( )

◆ get_prototype()

Response* client::Response::get_prototype ( )

◆ get_redirected()

bool client::Response::get_redirected ( )

◆ get_status()

double client::Response::get_status ( )

◆ get_statusText()

String* client::Response::get_statusText ( )

◆ get_type()

String* client::Response::get_type ( )

◆ get_url()

String* client::Response::get_url ( )

◆ set_prototype()

void client::Response::set_prototype ( Response )