(self, graph, destination, encoder=None)
Posts the given graph to the destination of the streamer using the
        given JSON encoder. When `encoder` is ``None``, it falls back to the default
        JSON encoder of the streamer in the `encoder` property.

        `destination` must be a file-like object or an instance of `GephiConnection`.
Posts the given graph to the destination of the streamer using the
        given JSON encoder. When `encoder` is ``None``, it falls back to the default
        JSON encoder of the streamer in the `encoder` property.
Posts the given graph to the destination of the streamer using the given JSON encoder . When encoder is None it falls back to the default JSON encoder of the streamer in the encoder property .
def post(self, graph, destination, encoder=None):
        """Posts the given graph to the destination of the streamer using the
        given JSON encoder. When `encoder` is ``None``, it falls back to the default
        JSON encoder of the streamer in the `encoder` property.

        `destination` must be a file-like object or an instance of `GephiConnection`.
        """
        encoder = encoder or self.encoder
        for jsonobj in self.iterjsonobj(graph):
            self.send_event(jsonobj, destination, encoder=encoder, flush=False)
        destination.flush()
def post ( self , graph , destination , encoder = None ) : encoder = encoder or self . encoder for jsonobj in self . iterjsonobj ( graph ) : self . send_event ( jsonobj , destination , encoder = encoder , flush = False ) destination . flush ( )