H3D API  2.4.1
Public Member Functions | List of all members
H3D::LibCurlResolver Class Reference

The LibCurlResolver uses libcurl to resolve URLs using e.g. More...

#include <H3D/LibCurlResolver.h>

Inheritance diagram for H3D::LibCurlResolver:
Inheritance graph

Public Member Functions

 LibCurlResolver ()
 Constructor.

 
virtual string resolveURLAsTmpFile (const string &url)
 Resolve a URL and download it to a tmp-file. More...
 

Detailed Description

The LibCurlResolver uses libcurl to resolve URLs using e.g.

the http or ftp protocols.

Member Function Documentation

◆ resolveURLAsTmpFile()

string LibCurlResolver::resolveURLAsTmpFile ( const string &  url)
virtual

Resolve a URL and download it to a tmp-file.

The tmp-file name is returned. If the URL could not be downloaded "" is returned.

Reimplemented from H3DUtil::ResourceResolver.

References H3DUtil::ResourceResolver::getTmpFileName(), and H3DUtil::ResourceResolver::releaseTmpFileName().


The documentation for this class was generated from the following files: