Audacity 3.2.0
SentryRequestBuilder.h
Go to the documentation of this file.
1/*!********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file SentryRequestBuilder.cpp
6 @brief Declare a class to generate the requests to Sentry.
7
8 Dmitry Vedenko
9 **********************************************************************/
10
11#pragma once
12
13#include <string>
14
15#include "Request.h"
16
17namespace audacity
18{
19namespace sentry
20{
21// This is a private class, so it is not exported
24{
25public:
26 static const SentryRequestBuilder& Get();
27
29
30private:
32
33 std::string mUrl;
34};
35} // namespace sentry
36} // namespace audacity
Declare a class for constructing HTTP requests.
A helper, that creates a correct Request to Sentry.
static const SentryRequestBuilder & Get()
network_manager::Request CreateRequest() const