Realm C++ SDK Version v2.2.0
Public Attributes | List of all members

realm::networking::request Struct Reference

#include <http.hpp>

Public Attributes

http_method method = http_method::get
 
std::string url
 
uint64_t timeout_ms = 0
 
http_headers headers
 
std::string body
 

Detailed Description

An HTTP request that can be made to an arbitrary server.

Member Data Documentation

◆ body

std::string realm::networking::request::body

The body of the request.

◆ headers

http_headers realm::networking::request::headers

The HTTP headers of this request - keys are case insensitive.

◆ method

http_method realm::networking::request::method = http_method::get

The HTTP method of this request.

◆ timeout_ms

uint64_t realm::networking::request::timeout_ms = 0

The number of milliseconds that the underlying transport should spend on an HTTP round trip before failing with an error.

◆ url

std::string realm::networking::request::url

The URL to which this request will be made.


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