Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F307422
HipChatClient
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
joshuaspence
Feb 16 2015, 8:46 PM
2015-02-16 20:46:51 (UTC+0)
Size
410 B
Referenced Files
None
Subscribers
None
HipChatClient
View Options
class HipChatClient {
private function makeRequest(
$api_method,
$args = array(),
$http_method = 'GET') {
$args['auth_token'] = $this->authToken;
$args['format'] = 'json';
$future = id(new HTTPSFuture($this->apiTarget.$api_method, $args))
->setMethod($http_method);
list($response, $data, $headers) = $future->resolvex();
return phutil_json_decode($data, true);
}
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/l3/a7/kkgme7ta4xfekaqr
Default Alt Text
HipChatClient (410 B)
Attached To
Mode
P1725 HipChatClient
Attached
Detach File
Event Timeline
Log In to Comment