OpenAnima 0.2.0
Middleware for conversational NPCs that interact with the player, the world and each other
Loading...
Searching...
No Matches
Classes | Typedefs
OpenAnima::Http Namespace Reference

The boundary with the network. More...

Classes

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

Typedefs

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

Detailed Description

The boundary with the network.

A provider depends on this interface and never on a client library, so the same provider runs against a hosted API, a local server, or a stand-in written for a test.