Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Member Functions | Friends | List of all members
transport::HTTPSession Class Reference

Public Member Functions

 HTTPSession (asio::io_service &io_service, std::string &ip_address, std::string &port, ContentReceivedCallback receive_callback, OnConnectionClosed on_reconnect_callback, bool client=false)
 
 HTTPSession (asio::ip::tcp::socket socket, ContentReceivedCallback receive_callback, OnConnectionClosed on_reconnect_callback, bool client=true)
 
void send (const uint8_t *buffer, std::size_t len, ContentSentCallback &&content_sent=0)
 
void send (utils::MemBuf *buffer, ContentSentCallback &&content_sent)
 
void close ()
 

Friends

class HTTPClientConnectionCallback
 

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