FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
static FB::SimpleStreamHelperPtr FB::SimpleStreamHelper::AsyncRequest ( const BrowserHostConstPtr &  host,
const BrowserStreamRequest req 
)
static

Creates an asynchronous HTTP request from the provided BrowserStreamRequest.

Using this method is basically the same as calling BrowserHost::createStream and providing the same BrowserStreamRequest object. Note that a BrowserStreamRequest object passed to this method must have a callback (see BrowserStreamRequest::setCallback)

Parameters
hostconst BrowserHostConstPtr &
reqconst BrowserStreamRequest &
Author
taxilian
Since
1.7
See Also
FB::BrowserStreamRequest:setCallback

Referenced by AsyncGet().