blob: 971425373555bab4791ba07117e4e585d6d89574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "curlOp.hpp"
#include "logTypes.hpp"
#include <connection_fwd.h>
#include <curl/curl.h>
#include <memory>
namespace WebStat {
class UserAgentLookupOperation : public CurlOperation {
public:
UserAgentLookupOperation(Crc32Value entityId);
void whenComplete(DB::Connection *) const override;
Crc32Value entityId;
};
std::unique_ptr<CurlOperation> curlGetUserAgentDetail(
Crc32Value entityId, std::string_view uas, const char * baseUrl);
}
|