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