Message¶
Types¶
OpMsg¶
class OpMsg(val body: MessageSection.Body, val sequences: Sequence<MessageSection.DocumentSequence> = emptySequence()) : Message
The OP_MSG message, introduced in MongoDB 3.6.
Properties¶
opcode¶
The message type.
The possible opcodes are documented in the wire protocol documentation.