Package io.grpc

Class ClientStreamTracer.Factory

    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • newClientStreamTracer

        public ClientStreamTracer newClientStreamTracer​(ClientStreamTracer.StreamInfo info,
                                                        Metadata headers)
        Creates a ClientStreamTracer for a new client stream. This is called inside the transport when it's creating the stream.
        Parameters:
        info - information about the stream
        headers - the mutable headers of the stream. It can be safely mutated within this method. Changes made to it will be sent by the stream. It should not be saved because it is not safe for read or write after the method returns.
        Since:
        1.20.0