Property | Type | Description | |
---|---|---|---|
$endpoint | string | ||
$from | string | ||
$headers | array | ||
$http | Guzzle\Http\ClientInterface | ||
$room | string | integer | ||
$token | string |
Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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 | ||
return | Guzzle\Http\ClientInterface |
public send ( rcrowe\Hippy\Message\MessageInterface $message ) | ||
$message | rcrowe\Hippy\Message\MessageInterface |
protected ClientInterface,Guzzle\Http $http | ||
return | Guzzle\Http\ClientInterface |