webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::ResourceHandleManager Class Reference

#include <ResourceHandleManager.h>

Public Types

enum  ProxyType {
  HTTP = CURLPROXY_HTTP, Socks4 = CURLPROXY_SOCKS4, Socks4A = CURLPROXY_SOCKS4A, Socks5 = CURLPROXY_SOCKS5,
  Socks5Hostname = CURLPROXY_SOCKS5_HOSTNAME
}
 

Public Member Functions

void add (ResourceHandle *)
 
void cancel (ResourceHandle *)
 
CURLSH * getCurlShareHandle () const
 
void setCookieJarFileName (const char *cookieJarFileName)
 
const char * getCookieJarFileName () const
 
void dispatchSynchronousJob (ResourceHandle *)
 
void setupPOST (ResourceHandle *, struct curl_slist **)
 
void setupPUT (ResourceHandle *, struct curl_slist **)
 
void setProxyInfo (const String &host=emptyString(), unsigned long port=0, ProxyType=HTTP, const String &username=emptyString(), const String &password=emptyString())
 

Static Public Member Functions

static ResourceHandleManagersharedInstance ()
 

Member Enumeration Documentation

◆ ProxyType

Enumerator
HTTP 
Socks4 
Socks4A 
Socks5 
Socks5Hostname 

Member Function Documentation

◆ add()

void WebCore::ResourceHandleManager::add ( ResourceHandle )

◆ cancel()

void WebCore::ResourceHandleManager::cancel ( ResourceHandle )

◆ dispatchSynchronousJob()

void WebCore::ResourceHandleManager::dispatchSynchronousJob ( ResourceHandle )

◆ getCookieJarFileName()

const char* WebCore::ResourceHandleManager::getCookieJarFileName ( ) const

◆ getCurlShareHandle()

CURLSH* WebCore::ResourceHandleManager::getCurlShareHandle ( ) const

◆ setCookieJarFileName()

void WebCore::ResourceHandleManager::setCookieJarFileName ( const char *  cookieJarFileName)

◆ setProxyInfo()

void WebCore::ResourceHandleManager::setProxyInfo ( const String host = emptyString(),
unsigned long  port = 0,
ProxyType  = HTTP,
const String username = emptyString(),
const String password = emptyString() 
)

◆ setupPOST()

void WebCore::ResourceHandleManager::setupPOST ( ResourceHandle ,
struct curl_slist **   
)

◆ setupPUT()

void WebCore::ResourceHandleManager::setupPUT ( ResourceHandle ,
struct curl_slist **   
)

◆ sharedInstance()

static ResourceHandleManager* WebCore::ResourceHandleManager::sharedInstance ( )
static

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