-/* $Id$
-
-This file is part of libmsphttp
-Copyright © 2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the LGPL
-*/
-
#ifndef MSP_HTTP_CLIENT_H_
#define MSP_HTTP_CLIENT_H_
private:
Net::StreamSocket *sock;
IO::EventDispatcher *event_disp;
+ std::string user_agent;
Request *request;
Response *response;
std::string in_buf;
~Client();
void use_event_dispatcher(IO::EventDispatcher *);
+ void set_user_agent(const std::string &);
void start_request(const Request &);
const Response *get_url(const std::string &);
void tick();