diff options
author | komels <[email protected]> | 2022-02-10 16:50:21 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:21 +0300 |
commit | 0dd632d6fc5676c75d7004172992cefaa2192db0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | 244466466f4f03621b0b399620f9094a16b511d2 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-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 b61ac1a351a..5bd8d3902b5 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 c80c62cb605..fcfce1c181a 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; |