aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/neh/netliba.h
blob: 9635d29753b077058761c88d5191b06f313c3939 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <util/datetime/base.h>

namespace NNeh {
    //global options
    struct TNetLibaOptions {
        static size_t ClientThreads;

        //period for quick send complete confirmation for next request to some address after receiving request ack
        static TDuration AckTailEffect;

        //set option, - return false, if option name not recognized
        static bool Set(TStringBuf name, TStringBuf value);
    };

    class IProtocol;

    IProtocol* NetLibaProtocol();
}