An HTTP request.
More...
#include <luciad/net/http/HttpRequest.h>
An HTTP request.
An HttpRequest instance is built through an luciad::HttpRequest::Builder
.
- Since
- 2023.0
◆ HttpRequest() [1/2]
luciad::HttpRequest::HttpRequest |
( |
const HttpRequest & |
other | ) |
|
◆ HttpRequest() [2/2]
luciad::HttpRequest::HttpRequest |
( |
HttpRequest && |
other | ) |
|
|
noexcept |
◆ ~HttpRequest()
luciad::HttpRequest::~HttpRequest |
( |
| ) |
|
◆ asBuilder()
Builder luciad::HttpRequest::asBuilder |
( |
| ) |
const |
◆ getBaseUri()
std::string luciad::HttpRequest::getBaseUri |
( |
| ) |
const |
Returns the request's URI without the query string.
- Returns
- the request's URI without the query string.
◆ getBody()
const std::optional< DataEntity > & luciad::HttpRequest::getBody |
( |
| ) |
const |
Returns the body for this http request, if any.
- Returns
- the body for this http request, if any.
◆ getHeaders()
const std::vector< HttpHeader > & luciad::HttpRequest::getHeaders |
( |
| ) |
const |
Returns the request headers for this request.
- Returns
- the request headers for this request.
◆ getMethod()
Returns the request method for this request.
- Returns
- the request method for this request.
◆ getQueryParameters()
const std::vector< UriQueryParameter > & luciad::HttpRequest::getQueryParameters |
( |
| ) |
const |
Returns the query parameters for this request.
- Returns
- the query parameters for this request.
◆ getUri()
std::string luciad::HttpRequest::getUri |
( |
| ) |
const |
Returns the request's URI.
- Returns
- the request's URI.
◆ newBuilder()
static Builder luciad::HttpRequest::newBuilder |
( |
| ) |
|
|
static |
◆ operator=()