Poco::JS::Net

class HTTPRequestWrapper

File Information

Library: JS/Net
Package: Wrappers
Header: Poco/JS/Net/HTTPRequestWrapper.h

Description

JavaScript wrapper for Poco::HTTPRequest.

Inheritance

Direct Base Classes: Poco::JS::Core::Wrapper

All Base Classes: Poco::JS::Core::Wrapper

Member Summary

Member Functions: addHeader, authenticate, cancel, construct, constructor, delete_, get, getBuffer, getContent, getContentType, getCookies, getCredentials, getHeader, getHeaders, getMethod, getParameters, getTimeout, getURI, getVersion, hasHeader, isHTTPRequest, objectTemplate, patch, post, put, send, sendAsync, sendBlocking, setBuffer, setContent, setContentType, setCredentials, setHeader, setMethod, setParameters, setTimeout, setURI, setVersion

Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Constructors

HTTPRequestWrapper

HTTPRequestWrapper();

Creates the HTTPRequestWrapper for the root logger.

Destructor

~HTTPRequestWrapper virtual

~HTTPRequestWrapper();

Destroys the HTTPRequestWrapper.

Member Functions

construct static

static void construct(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Constructor function.

construct static

static void construct(
    const std::string & method,
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Constructor function, used by get(), post(), etc.

constructor

v8::Handle < v8::FunctionTemplate > constructor(
    v8::Isolate * pIsolate
);

Creates and returns a V8 FunctionTemplate for the constructor function.

objectTemplate virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

addHeader protected static

static void addHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

authenticate protected static

static void authenticate(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

cancel protected static

static void cancel(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

delete_ protected static

static void delete_ (
    const v8::FunctionCallbackInfo < v8::Value > & args
);

get protected static

static void get(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

getBuffer protected static

static void getBuffer(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getContent protected static

static void getContent(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getContentType protected static

static void getContentType(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getCookies protected static

static void getCookies(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getCredentials protected static

static void getCredentials(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getHeader protected static

static void getHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

getHeaders protected static

static void getHeaders(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getMethod protected static

static void getMethod(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getParameters protected static

static void getParameters(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getTimeout protected static

static void getTimeout(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getURI protected static

static void getURI(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getVersion protected static

static void getVersion(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

hasHeader protected static

static void hasHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

isHTTPRequest protected static

static void isHTTPRequest(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

patch protected static

static void patch(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

post protected static

static void post(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

put protected static

static void put(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

send protected static

static void send(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

sendAsync protected static

static void sendAsync(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

sendBlocking protected static

static void sendBlocking(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setBuffer protected static

static void setBuffer(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setContent protected static

static void setContent(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setContentType protected static

static void setContentType(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setCredentials protected static

static void setCredentials(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setHeader protected static

static void setHeader(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setMethod protected static

static void setMethod(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setParameters protected static

static void setParameters(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setTimeout protected static

static void setTimeout(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setURI protected static

static void setURI(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

setVersion protected static

static void setVersion(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

Securely control IoT edge devices from anywhere   Connect a Device