OpenAnima 0.2.0
Middleware for conversational NPCs that interact with the player, the world and each other
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
HttpTransport.h File Reference

The HTTP boundary, small enough to be replaced in a test. More...

#include <functional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

Classes

struct  OpenAnima::Http::HttpRequest
 A request issued by an inference provider. More...
 
struct  OpenAnima::Http::HttpResponse
 The raw answer of an endpoint, kept verbatim so callers can inspect the status. More...
 
struct  OpenAnima::Http::ResponseObserver
 
class  OpenAnima::Http::HttpTransport
 

Namespaces

namespace  OpenAnima
 Root of the library.
 
namespace  OpenAnima::Http
 The boundary with the network.
 

Typedefs

using OpenAnima::Http::HttpHeader = std::pair< std::string, std::string >
 A single HTTP header. A vector of pairs is used so repeated names survive.
 

Detailed Description

The HTTP boundary, small enough to be replaced in a test.