Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpConnection Struct Reference

Http connection abstraction holding both the incoming and outgoing messages in an HTTP transaction. More...

#include <HttpConnection.h>

Classes

struct  ID
 

Public Member Functions

void reset ()
 Prepare this client for re-use, marking it as Inactive.
 
ID getConnectionID () const
 The ID used to find this client in HttpConnectionsPool.
 

Public Attributes

HttpRequest request
 
HttpResponse response
 

Friends

struct HttpConnectionsPool
 
struct HttpAsyncServer
 

Detailed Description

Http connection abstraction holding both the incoming and outgoing messages in an HTTP transaction.

Member Function Documentation

◆ getConnectionID()

ID SC::HttpConnection::getConnectionID ( ) const
inline

The ID used to find this client in HttpConnectionsPool.

◆ reset()

void SC::HttpConnection::reset ( )

Prepare this client for re-use, marking it as Inactive.


The documentation for this struct was generated from the following file: