Свойство | Тип | Описание | |
---|---|---|---|
$endpoint | string | ||
$from | string | ||
$headers | array | ||
$http | Guzzle\Http\ClientInterface | ||
$room | string | integer | ||
$token | string |
Метод | Описание | |
---|---|---|
__construct ( $token, $room, $from, $endpoint = 'https://api.hipchat.com/v1/' ) | ||
getEndpoint ( ) | ||
getFrom ( ) | ||
getHeaders ( ) | ||
getHttp ( ) : Guzzle\Http\ClientInterface | Get the instance of Guzzle used to send the message. | |
getRoom ( ) | ||
getToken ( ) | ||
send ( rcrowe\Hippy\Message\MessageInterface $message ) | ||
setEndpoint ( $endpoint ) | ||
setFrom ( $from ) | ||
setHeaders ( array $headers ) | ||
setHttp ( Guzzle\Http\ClientInterface $http ) : void | Set the instance of Guzzle used to send the message. | |
setRoom ( $room ) | ||
setToken ( $token ) |
Метод | Описание | |
---|---|---|
getUri ( ) : string | Uri of the request URL to the Hipchat API. |
public __construct ( $token, $room, $from, $endpoint = 'https://api.hipchat.com/v1/' ) |
public getHttp ( ) : Guzzle\Http\ClientInterface | ||
Результат | Guzzle\Http\ClientInterface |
public send ( rcrowe\Hippy\Message\MessageInterface $message ) | ||
$message | rcrowe\Hippy\Message\MessageInterface |
protected ClientInterface,Guzzle\Http $http | ||
Результат | Guzzle\Http\ClientInterface |