expose a way to set tls options for a sentry client, for testing

This commit is contained in:
Benjamin Sergeant
2020-03-12 16:18:28 -07:00
parent d4e1f71e3c
commit bda1bb6ab4
17 changed files with 311 additions and 0 deletions

View File

@@ -40,6 +40,11 @@ namespace ix
}
}
void SentryClient::setTLSOptions(const SocketTLSOptions& tlsOptions)
{
_httpClient->setTLSOptions(tlsOptions);
}
int64_t SentryClient::getTimestamp()
{
const auto tp = std::chrono::system_clock::now();