Skip to content

Namespace restincurl

Namespace List > restincurl

Classes

Type Name
class Client
class CurlException
struct DataHandlerBase
class EasyHandle
class Exception
struct InDataHandler <typename T>
class Options
struct OutDataHandler <typename T>
class Request
class RequestBuilder
struct Result
class Signaler
class SystemException
class TlsLocker
class Worker

Public Types

Type Name
enum RequestType
typedef std::function< void(const Result &result)> completion_fn_t
typedef std::lock_guard< std::mutex > lock_t

Public Types Documentation

enum RequestType

enum restincurl::RequestType {
    GET,
    PUT,
    POST,
    HEAD,
    DELETE,
    PATCH,
    OPTIONS,
    POST_MIME,
    INVALID
};

typedef completion_fn_t

using restincurl::completion_fn_t =  std::function<void (const Result& result)>;

Completion debug_callback

This callback is called when a request completes, or fails.

Parameters:

  • result The result of the request.

typedef lock_t

using restincurl::lock_t =  std::lock_guard<std::mutex>;


The documentation for this class was generated from the following file SpiceQL/include/restincurl.h