TeXLiveClient.php 984 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. // GENERATED CODE -- DO NOT EDIT!
  3. namespace Palm\Lily\V1;
  4. /**
  5. * ----------------------------------------------------------------------------
  6. *
  7. */
  8. class TeXLiveClient extends \Grpc\BaseStub {
  9. /**
  10. * @param string $hostname hostname
  11. * @param array $opts channel options
  12. * @param \Grpc\Channel $channel (optional) re-use channel object
  13. */
  14. public function __construct($hostname, $opts, $channel = null) {
  15. parent::__construct($hostname, $opts, $channel);
  16. }
  17. /**
  18. * @param \Palm\Lily\V1\TeXLiveRequest $argument input argument
  19. * @param array $metadata metadata
  20. * @param array $options call options
  21. * @return \Grpc\UnaryCall
  22. */
  23. public function ToPdf(\Palm\Lily\V1\TeXLiveRequest $argument,
  24. $metadata = [], $options = []) {
  25. return $this->_simpleRequest('/palm.lily.v1.TeXLive/ToPdf',
  26. $argument,
  27. ['\Palm\Lily\V1\TeXLiveResponse', 'decode'],
  28. $metadata, $options);
  29. }
  30. }