|
| virtual bool | useChunkedEncoding (bool chunked=true)=0 |
| | Indicate whether content should be sent using HTTP 1.1 and Chunked Transport-Encoding, or buffered and sent with a Content-Length.
|
| virtual bool | setRequestHeader (const char *name, const char *value)=0 |
| | Sets an outgoing HTTP request header.
|
| virtual bool | setAcceptEncoding (const char *value)=0 |
| | Sets the Accept-Encoding header.
|
| virtual bool | followRedirects (bool follow, unsigned int maxRedirs) |
| | Controls redirect behavior.
|
| virtual const std::vector< std::string > & | getResponseHeader (const char *name) const =0 |
| | Returns the values of an HTTP response header.
|
| virtual bool | isConfidential () const =0 |
| | Indicates whether transport provides confidentiality.
|
| virtual bool | setConnectTimeout (long timeout)=0 |
| | Sets the connection timeout.
|
| virtual bool | setTimeout (long timeout)=0 |
| | Sets the request timeout.
|
| virtual bool | setAuth (transport_auth_t authType, const char *username=0, const char *password=0)=0 |
| | Sets a particular form of transport authentication and credentials.
|
| virtual bool | setVerifyHost (bool verify)=0 |
| | Determines whether TLS/SSL connections include a check of the server's certificate against the expected hostname or address.
|
| virtual bool | setCredential (const Credential *credential=0)=0 |
| | Supplies transport credentials.
|
| virtual bool | setTrustEngine (const X509TrustEngine *trustEngine=0, const CredentialResolver *credResolver=0, CredentialCriteria *criteria=0, bool mandatory=true)=0 |
| | Provides an X509TrustEngine to the transport to authenticate the transport peer.
|
| virtual bool | setCacheTag (std::string *cacheTag=0) |
| | Installs (or clears) a pointer to an object used for cache management of the content being accessed.
|
| virtual bool | setProviderOption (const char *provider, const char *option, const char *value) |
| | Sets an implementation-specific transport provider option.
|
| virtual void | send (std::istream &in)=0 |
| | Sends a stream of data over the transport.
|
| virtual void | send (std::istream *in=0) |
| | Sends an optional stream of data over the transport.
|
| virtual std::istream & | receive ()=0 |
| | Returns reference to response stream.
|
| virtual bool | isAuthenticated () const =0 |
| | Returns result of authenticating transport peer.
|
| virtual std::string | getContentType () const =0 |
| | Returns the MIME type of the response, if any.
|
| virtual long | getStatusCode () const |
| | Returns the status code of the response.
|
Encapsulates HTTP SOAP transport layer.