libfilezilla 0.59.0
A cross-platform C++ library for asynchronous and networked applications
Loading...
Searching...
No Matches
client.hpp File Reference

A HTTP client. More...

#include "../string.hpp"
#include "client_request.hpp"
#include "client_response.hpp"
#include <memory>
Include dependency graph for client.hpp:

Go to the source code of this file.

Classes

class  request_response_interface
 Used for type erasure, so the internals don't need to know the full request/response. More...
class  request_response_holder< Request, Response >
class  client
 HTTP client capable of pipelining. More...

Namespaces

namespace  fz
 The namespace used by libfilezilla.

Typedefs

typedef std::shared_ptr< request_response_interface > shared_request_response
typedef simple_event< done_event_type, uint64_t, bool > done_event

Detailed Description

A HTTP client.

Typedef Documentation

◆ done_event

typedef simple_event<done_event_type, uint64_t, bool> done_event

Unless stop was called, exactly one done_event is sent for every request that was added successfully.