ClientStream is the response object from a gRPC client streaming API call.

CloneableInstantiable
Methods
public __construct( $clientStreamingCall, array $streamingDescriptor = [])
 
ClientStream constructor.

    public getClientStreamingCall()
     
    Return the underlying gRPC call object

    • return Grpc\ClientStreamingCall|mixed
    public readResponse()
     
    Read the response from the server, completing the streaming call.

    public write( $request)
     
    Write request to the server.

      public writeAllAndReadResponse( $requests)
       
      Write all data in $dataArray and read the response from the server, completing the streaming call.

      • return mixed The response object from the server
      Properties
      private $call
      © 2020 Bruce Wells
      Search Namespaces \ Classes
      ConfigurationNumbers (0-9.) only