| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- // GENERATED CODE -- DO NOT EDIT!
- namespace Palm\Morus\V1;
- /**
- */
- class MarkdownClient extends \Grpc\BaseStub {
- /**
- * @param string $hostname hostname
- * @param array $opts channel options
- * @param \Grpc\Channel $channel (optional) re-use channel object
- */
- public function __construct($hostname, $opts, $channel = null) {
- parent::__construct($hostname, $opts, $channel);
- }
- /**
- * @param \Palm\Morus\V1\MarkdownToHtmlRequest $argument input argument
- * @param array $metadata metadata
- * @param array $options call options
- * @return \Grpc\UnaryCall
- */
- public function ToHtml(\Palm\Morus\V1\MarkdownToHtmlRequest $argument,
- $metadata = [], $options = []) {
- return $this->_simpleRequest('/palm.morus.v1.Markdown/ToHtml',
- $argument,
- ['\Palm\Morus\V1\MarkdownToHtmlResponse', 'decode'],
- $metadata, $options);
- }
- }
|