1#ifndef RESIP_HttpProvider
2#define RESIP_HttpProvider
20class HttpProviderFactory;
44 static void setFactory(std::unique_ptr<HttpProviderFactory> fact)
noexcept;
54 static std::unique_ptr<HttpProviderFactory> mFactory;
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Represents the "absoluteURI" element in the RFC 3261 grammar.
virtual ~HttpProviderFactory()
virtual HttpProvider * createHttpProvider()=0
virtual void get(const GenericUri &target, const Data &tid, TransactionUser &tu, TargetCommand::Target &commandTarget)=0
static HttpProvider * instance()
static void setFactory(std::unique_ptr< HttpProviderFactory > fact) noexcept
virtual void get(const GenericUri &target, const Data &tid, const Data &userData, const HttpRequestOptions &options, TransactionUser &tu, TargetCommand::Target &commandTarget)
The base-class for an RFC 3261 Transaction User.
dcm! – add UnusedChecking(_enum) below;
std::mutex Mutex
A semaphore that can be locked by only one thread at a time.
unsigned int mRequestTimeoutSeconds
std::vector< AddressMask > mDeniedAddresses
std::vector< AddressMask > mAllowedAddresses
unsigned int mConnectTimeoutSeconds