diff options
author | komels <[email protected]> | 2022-02-10 16:50:20 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:20 +0300 |
commit | 244466466f4f03621b0b399620f9094a16b511d2 (patch) | |
tree | edcba96d326d621e3e4ea17941c0f69782e167f1 /library/cpp | |
parent | 0689407cd3d1e44446526af0be1433d1c126788e (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 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 5bd8d3902b5..b61ac1a351a 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 fcfce1c181a..c80c62cb605 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; |