blob: 4de883f8b39fdb57064fa739ab0d827f9b52a947 (
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(EntityId entityId);
void whenComplete(DB::Connection *) const override;
EntityId entityId;
};
std::unique_ptr<CurlOperation> curlGetUserAgentDetail(
EntityId entityId, std::string_view uas, const char * baseUrl);
}
|