foobar2000 SDK  2015-01-14
Private Member Functions
http_replyabstract

#include <http_client.h>

+ Inheritance diagram for http_reply:

Private Member Functions

virtual FB2K_MAKE_SERVICE_INTERFACE(http_reply, service_base) public bool get_http_header (const char *name, pfc::string_base &out)=0
 
virtual bool get_http_header_multi (const char *name, pfc::string_base &out)=0
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Implemented by file object returned by http_request::run methods. Allows you to retrieve various additional information returned by the server.
Warning: reply status may change when seeking on the file object since seek operations often require a new HTTP request to be fired.

Definition at line 3 of file http_client.h.

Member Function Documentation

virtual FB2K_MAKE_SERVICE_INTERFACE (http_reply, service_base) public bool http_reply::get_http_header ( const char *  name,
pfc::string_base out 
)
privatepure virtual

Retrieves a HTTP header value, eg. "content-type". Note that get_http_header("content-type", out) is equivalent to get_content_type(out). If there are multiple matching header entries, value of the first one will be returned.

virtual bool http_reply::get_http_header_multi ( const char *  name,
pfc::string_base out 
)
privatepure virtual

Retrieves a HTTP header value, eg. "content-type". If there are multiple matching header entries, this will return all their values, delimited by
.


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