diff options
Diffstat (limited to 'src/mongo/rpc/protocol.h')
-rw-r--r-- | src/mongo/rpc/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/rpc/protocol.h b/src/mongo/rpc/protocol.h index 40f656d3e9f..57cb491bf5c 100644 --- a/src/mongo/rpc/protocol.h +++ b/src/mongo/rpc/protocol.h @@ -34,6 +34,7 @@ #include "mongo/base/status_with.h" #include "mongo/db/wire_version.h" +#include "mongo/util/net/message.h" namespace mongo { class BSONObj; @@ -84,6 +85,8 @@ const ProtocolSet kAll = kOpQueryOnly | kOpCommandOnly | kOpMsgOnly; } // namespace supports +Protocol protocolForMessage(const Message& message); + /** * Returns the protocol used to initiate the current operation. */ |