Operator
C++ library for plugging into matrix.org
All Classes Namespaces Files Functions Typedefs Pages
Classes | Namespaces | Typedefs | Functions
http.hh File Reference

Common HTTP definitions. More...

#include "error.hh"
#include <string>
#include <sstream>
#include <map>
#include <vector>
#include <memory>
#include <functional>
Include dependency graph for http.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Operator::HTTP::Adapter
 HTTP adapter interface. More...
 
struct  Operator::HTTP::url_encode
 

Namespaces

 Operator::HTTP
 Common HTTP definitions.
 

Typedefs

typedef std::pair< std::string, std::string > Operator::HTTP::header_t
 HTTP header.
 
typedef std::vector< header_t > Operator::HTTP::headers_t
 list of HTTP headers.
 
typedef std::function< void(std::unique_ptr< Error::Error >, short code, const headers_t &, std::unique_ptr< std::istream > body)> Operator::HTTP::httpcallback_t
 HTTP callback type.
 

Functions

std::ostream & Operator::HTTP::operator<< (std::ostream &os, const url_encode &ue)
 

Detailed Description

Common HTTP definitions.

Author
Hubert Chathi huber.nosp@m.t@uh.nosp@m.oreg..nosp@m.ca