cofetch
Chainable, high-performance async HTTP client for C++ event loops
Loading...
Searching...
No Matches
cofetch Namespace Reference

Namespaces

namespace  detail
 

Classes

class  Client
 
class  Request
 Value-type description of a request; pass to Client::async_perform. More...
 
class  Response
 

Typedefs

using error_code = std::error_code
 
using error_category = std::error_category
 

Functions

const error_categorycurl_category ()
 std::error_category for libcurl transport errors (CURLcode values).
 
error_code make_error_code (CURLcode code)
 

Typedef Documentation

◆ error_category

using cofetch::error_category = typedef std::error_category

◆ error_code

using cofetch::error_code = typedef std::error_code

Function Documentation

◆ curl_category()

const error_category & cofetch::curl_category ( )
inline

std::error_category for libcurl transport errors (CURLcode values).

◆ make_error_code()

error_code cofetch::make_error_code ( CURLcode  code)
inline