Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93012042
ConduitPingConduitAPIMethod.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Nov 25, 14:02
Size
559 B
Mime Type
text/x-php
Expires
Wed, Nov 27, 14:02 (2 d)
Engine
blob
Format
Raw Data
Handle
22557404
Attached To
rPH Phabricator
ConduitPingConduitAPIMethod.php
View Options
<?php
final
class
ConduitPingConduitAPIMethod
extends
ConduitAPIMethod
{
public
function
getAPIMethodName
()
{
return
'conduit.ping'
;
}
public
function
shouldRequireAuthentication
()
{
return
false
;
}
public
function
getMethodDescription
()
{
return
pht
(
'Basic ping for monitoring or a health-check.'
);
}
protected
function
defineParamTypes
()
{
return
array
();
}
protected
function
defineReturnType
()
{
return
'string'
;
}
protected
function
execute
(
ConduitAPIRequest
$request
)
{
return
php_uname
(
'n'
);
}
}
Event Timeline
Log In to Comment