You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm/extend/alimsg/msg_sdk/lib/MNS/Requests/PeekMessageRequest.php

34 lines
586 B

<?php
namespace AliyunMNS\Requests;
use AliyunMNS\Constants;
use AliyunMNS\Requests\BaseRequest;
class PeekMessageRequest extends BaseRequest
{
private $queueName;
public function __construct($queueName)
{
parent::__construct('get', 'queues/' . $queueName . '/messages?peekonly=true');
$this->queueName = $queueName;
}
public function getQueueName()
{
return $this->queueName;
}
public function generateBody()
{
return NULL;
}
public function generateQueryString()
{
return NULL;
}
}
?>