diff options
author | komels <komels@yandex-team.ru> | 2022-02-10 16:50:21 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:21 +0300 |
commit | 0dd632d6fc5676c75d7004172992cefaa2192db0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/grpc | |
parent | 244466466f4f03621b0b399620f9094a16b511d2 (diff) | |
download | ydb-0dd632d6fc5676c75d7004172992cefaa2192db0.tar.gz |
Restoring authorship annotation for <komels@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/grpc')
-rw-r--r-- | library/cpp/grpc/server/grpc_request.h | 8 | ||||
-rw-r--r-- | library/cpp/grpc/server/grpc_request_base.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/grpc/server/grpc_request.h b/library/cpp/grpc/server/grpc_request.h index b61ac1a351..5bd8d3902b 100644 --- a/library/cpp/grpc/server/grpc_request.h +++ b/library/cpp/grpc/server/grpc_request.h @@ -113,10 +113,10 @@ public: return FinishPromise_.GetFuture(); } - TString GetPeer() const override { - return TString(this->Context.peer()); - } - + TString GetPeer() const override { + return TString(this->Context.peer()); + } + bool SslServer() const override { return Server_->SslServer(); } diff --git a/library/cpp/grpc/server/grpc_request_base.h b/library/cpp/grpc/server/grpc_request_base.h index c80c62cb60..fcfce1c181 100644 --- a/library/cpp/grpc/server/grpc_request_base.h +++ b/library/cpp/grpc/server/grpc_request_base.h @@ -105,9 +105,9 @@ public: //! Returns future to get cancel of finish notification virtual TAsyncFinishResult GetFinishFuture() = 0; - - //! Returns peer address - virtual TString GetPeer() const = 0; + + //! Returns peer address + virtual TString GetPeer() const = 0; //! Returns true if server is using ssl virtual bool SslServer() const = 0; |