example/client.js
function captureScreenshot(url) {
    const serviceUrl = screenshotServiceUrl(url);

    console.log('Sending request to capture screenshot from %s', url);
    http.get(serviceUrl, (res) =>
        console.log('Screenshot from %s was captured with status %s', url, res.statusCode));
    console.log('Request to capture screenshot from %s was sent', url);
}
function captureScreenshot(url) {
    const serviceUrl = screenshotServiceUrl(url);

    console.log('Sending request to capture screenshot from %s', url);
    http.get(serviceUrl, (res) =>
        console.log('Screenshot from %s was captured with status %s', url, res.statusCode));
    console.log('Request to capture screenshot from %s was sent', url);
}
function captureScreenshot ( url ) { const serviceUrl = screenshotServiceUrl ( url ) ; console . log ( 'Sending request to capture screenshot from %s' , url ) ; http . get ( serviceUrl , ( res ) => console . log ( 'Screenshot from %s was captured with status %s' , url , res . statusCode ) ) ; console . log ( 'Request to capture screenshot from %s was sent' , url ) ; }
Call the Manet using the current server as a callback.
Call the Manet using the current server as a callback .