Poco::JS::Net

class HTTPRequestWrapper

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, construct, constructor, getBuffer, getContent, getContentType, getCookies, getCredentials, getHeader, getMethod, getTimeout, getURI, getVersion, hasHeader, objectTemplate, send, sendAsync, sendBlocking, setBuffer, setContent, setContentType, setHeader, setMethod, setTimeout, setURI, setVersion

Inherited Functions: isWrapper, objectTemplate, returnException, returnString, safeUnwrapNative, toString, 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.

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
);

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
);

getMethod protected static

static void getMethod(
    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
);

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
);

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
);

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