Audacity
3.2.0
libraries
lib-sentry-reporting
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
17
namespace
audacity
18
{
19
namespace
sentry
20
{
21
// This is a private class, so it is not exported
23
class
SentryRequestBuilder
final
24
{
25
public
:
26
static
const
SentryRequestBuilder
&
Get
();
27
28
network_manager::Request
CreateRequest
()
const
;
29
30
private
:
31
SentryRequestBuilder
();
32
33
std::string
mUrl
;
34
};
35
}
// namespace sentry
36
}
// namespace audacity
Request.h
Declare a class for constructing HTTP requests.
audacity::network_manager::Request
Definition:
Request.h:28
audacity::sentry::SentryRequestBuilder
A helper, that creates a correct Request to Sentry.
Definition:
SentryRequestBuilder.h:24
audacity::sentry::SentryRequestBuilder::Get
static const SentryRequestBuilder & Get()
Definition:
SentryRequestBuilder.cpp:20
audacity::sentry::SentryRequestBuilder::mUrl
std::string mUrl
Definition:
SentryRequestBuilder.h:33
audacity::sentry::SentryRequestBuilder::SentryRequestBuilder
SentryRequestBuilder()
Definition:
SentryRequestBuilder.cpp:46
audacity::sentry::SentryRequestBuilder::CreateRequest
network_manager::Request CreateRequest() const
Definition:
SentryRequestBuilder.cpp:27
audacity
Definition:
FileHistory.h:23
Generated by
1.9.3