Copied!

A trait for shared functionality between transports that support only unary RPCs using simple HTTP requests.

  • internal
Trait
Methods
public close()
 
    public startBidiStreamingCall(Google\ApiCore\Call $call, array $options)
     
    • return never
    • throws \BadMethodCallException
    public startClientStreamingCall(Google\ApiCore\Call $call, array $options)
     
    • return never
    • throws \BadMethodCallException
    public startServerStreamingCall(Google\ApiCore\Call $call, array $options)
     
    • return never
    • throws \BadMethodCallException
    Properties
    private $clientCertSource = NULL
    private $httpHandler = NULL
    private $transportName = NULL
    Methods
    private static buildCommonHeaders(array $options)
     
    • param array $options
    • return array
    private static buildHttpHandlerAsync(Psr\Log\LoggerInterface|false|?null $logger = NULL)
     
    • return callable
    • throws \ValidationException
    private configureMtlsChannel(callable $clientCertSource)
     

    Set the path to a client certificate.

    • param callable $clientCertSource
    private static loadClientCertSource(callable $clientCertSource)
    private throwUnsupportedException()
     
    • return never
    • throws \BadMethodCallException
    Methods
    private static buildCommonHeaders(array $options)
     
    • param array $options
    • return array
    private static buildHttpHandlerAsync(Psr\Log\LoggerInterface|false|?null $logger = NULL)
     
    • return callable
    • throws \ValidationException
    private static loadClientCertSource(callable $clientCertSource)
    © 2025 Bruce Wells
    Search Namespaces \ Classes
    Configuration