summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/legacy_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/rpc/legacy_request.h')
-rw-r--r--src/mongo/rpc/legacy_request.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/rpc/legacy_request.h b/src/mongo/rpc/legacy_request.h
index 93567a6fe6c..eb6df488e26 100644
--- a/src/mongo/rpc/legacy_request.h
+++ b/src/mongo/rpc/legacy_request.h
@@ -32,6 +32,7 @@
#include "mongo/db/dbmessage.h"
#include "mongo/db/jsobj.h"
#include "mongo/rpc/document_range.h"
+#include "mongo/rpc/protocol.h"
#include "mongo/rpc/request_interface.h"
namespace mongo {
@@ -87,6 +88,8 @@ namespace rpc {
*/
DocumentRange getInputDocs() const final;
+ Protocol getProtocol() const final;
+
private:
const Message* _message;
// TODO: metadata will be handled in SERVER-18236