aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/neh/location.h
blob: 8a9154785f43bd78092c1b1017567fcaef53f958 (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/strbuf.h>

namespace NNeh {
    struct TParsedLocation {
        TParsedLocation(TStringBuf path);

        ui16 GetPort() const;

        TStringBuf Scheme;
        TStringBuf UserInfo;
        TStringBuf EndPoint;
        TStringBuf Host;
        TStringBuf Port;
        TStringBuf Service;
    };
}