aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/url_preprocessing/interface/url_preprocessing.h
blob: 6164f522f1df69cce07c7f4b495d60e87c0405c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <util/generic/ptr.h>
#include <util/generic/string.h>

#include <utility>


namespace NYql {

struct IUrlPreprocessing: public TThrRefBase {
public:
    using TPtr = TIntrusivePtr<IUrlPreprocessing>;
    // Returns pair of <new url>, <url alias>
    virtual std::pair<TString, TString> Preprocess(const TString& url) = 0;
};

}