StripeKit 0.1.1
Stripe integration toolkit for C++
Loading...
Searching...
No Matches
stripekit::HttpResponse Struct Reference

Stripe's answer to a request. More...

#include <HTTPClient.h>

Public Attributes

int status_code = 0
 HTTP status Stripe returned.
std::unordered_map< std::string, std::string > headers
 Response headers, with lower-case keys.
std::string body
 Response body, unmodified.

Detailed Description

Stripe's answer to a request.

Definition at line 82 of file HTTPClient.h.

Member Data Documentation

◆ status_code

int stripekit::HttpResponse::status_code = 0

HTTP status Stripe returned.

Definition at line 84 of file HTTPClient.h.

◆ headers

std::unordered_map<std::string, std::string> stripekit::HttpResponse::headers

Response headers, with lower-case keys.

StripeKit looks them up that way.

Definition at line 87 of file HTTPClient.h.

◆ body

std::string stripekit::HttpResponse::body

Response body, unmodified.

Definition at line 90 of file HTTPClient.h.


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