aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/options.h
diff options
context:
space:
mode:
authorSergey Polovko <sergey@polovko.me>2022-02-10 16:47:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:02 +0300
commit3e0b762a82514bac89c1dd6ea7211e381d8aa248 (patch)
treec2d1b379ecaf05ca8f11ed0b5da9d1a950e6e554 /library/cpp/http/server/options.h
parentab3783171cc30e262243a0227c86118f7080c896 (diff)
downloadydb-3e0b762a82514bac89c1dd6ea7211e381d8aa248.tar.gz
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r--library/cpp/http/server/options.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h
index 38eda0e5e7..f837ef0b08 100644
--- a/library/cpp/http/server/options.h
+++ b/library/cpp/http/server/options.h
@@ -18,18 +18,18 @@ public:
using TBindAddresses = TVector<TNetworkAddress>;
void BindAddresses(TBindAddresses& ret) const;
- inline THttpServerOptions& AddBindAddress(const TString& address, ui16 port) {
+ inline THttpServerOptions& AddBindAddress(const TString& address, ui16 port) {
const TAddr addr = {
address,
port,
};
BindSockaddr.push_back(addr);
- return *this;
+ return *this;
}
- inline THttpServerOptions& AddBindAddress(const TString& address) {
- return AddBindAddress(address, 0);
+ inline THttpServerOptions& AddBindAddress(const TString& address) {
+ return AddBindAddress(address, 0);
}
inline THttpServerOptions& EnableKeepAlive(bool enable) noexcept {