'Sends a PATCH-DOC message, returning a Future that\'s completed when it\'s written out.'

def send_patch_document(self, event):

    msg = self.protocol.create('PATCH-DOC', [event])
    return self._socket.send_message(msg)
