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
Creates the HTTPRequestWrapper for the root logger.
Destructor
~HTTPRequestWrapper
Destroys the HTTPRequestWrapper.
Member Functions
construct
static void construct(
const v8::FunctionCallbackInfo < v8::Value > & args
);
Constructor function.
construct
static void construct(
const std::string & method,
const v8::FunctionCallbackInfo < v8::Value > & args
);
constructor
v8::Handle < v8::FunctionTemplate > constructor(
v8::Isolate * pIsolate
);
Creates and returns a V8 FunctionTemplate for the constructor function.
objectTemplate
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
addHeader
static void addHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
authenticate
static void authenticate(
const v8::FunctionCallbackInfo < v8::Value > & args
);
cancel
static void cancel(
const v8::FunctionCallbackInfo < v8::Value > & args
);
delete_
static void delete_ (
const v8::FunctionCallbackInfo < v8::Value > & args
);
get
static void get(
const v8::FunctionCallbackInfo < v8::Value > & args
);
getBuffer
static void getBuffer(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getContent
static void getContent(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getContentType
static void getContentType(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getCookies
static void getCookies(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getCredentials
static void getCredentials(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getHeader
static void getHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
getHeaders
static void getHeaders(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getMethod
static void getMethod(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getParameters
static void getParameters(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getTimeout
static void getTimeout(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getURI
static void getURI(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getVersion
static void getVersion(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
hasHeader
static void hasHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
isHTTPRequest
static void isHTTPRequest(
const v8::FunctionCallbackInfo < v8::Value > & args
);
patch
static void patch(
const v8::FunctionCallbackInfo < v8::Value > & args
);
post
static void post(
const v8::FunctionCallbackInfo < v8::Value > & args
);
put
static void put(
const v8::FunctionCallbackInfo < v8::Value > & args
);
send
static void send(
const v8::FunctionCallbackInfo < v8::Value > & args
);
sendAsync
static void sendAsync(
const v8::FunctionCallbackInfo < v8::Value > & args
);
sendBlocking
static void sendBlocking(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setBuffer
static void setBuffer(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setContent
static void setContent(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setContentType
static void setContentType(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setCredentials
static void setCredentials(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setHeader
static void setHeader(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setMethod
static void setMethod(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setParameters
static void setParameters(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setTimeout
static void setTimeout(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setURI
static void setURI(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
setVersion
static void setVersion(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);