Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoUrlFetch.h File Reference

Description

VuoUrlFetch interface.

Functions

bool VuoUrl_fetch (const char *url, void **data, unsigned int *dataLength)
 Receives the data at the specified url.
 

Function Documentation

bool VuoUrl_fetch ( const char *  url,
void **  data,
unsigned int *  dataLength 
)

Receives the data at the specified url.

The caller is responsible for free()ing the data.

data includes an extra trailing NULL terminator byte (not counted in dataLength), to make it easier to work with URLs containing plain text.

Returns
true upon success, false upon failure.
Todo:
Better error handling per https://b33p.net/kosada/node/4724