aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/cookies/cookies.h
blob: d7a0030c8ba4fad24d029adb5befbcb3af0c5d1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "lctable.h"

class THttpCookies: public TLowerCaseTable<TStringBuf> {
public:
    inline THttpCookies(const TStringBuf& cookieString) {
        Scan(cookieString);
    }

    inline THttpCookies() noexcept {
    }

    void Scan(const TStringBuf& cookieString);

    TString ToString() const;
};