Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101630914
ConduitAPI_conduit_ping_Method.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
Wed, Feb 12, 06:32
Size
569 B
Mime Type
text/x-php
Expires
Fri, Feb 14, 06:32 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24204452
Attached To
rPH Phabricator
ConduitAPI_conduit_ping_Method.php
View Options
<?php
/**
* @group conduit
*/
final
class
ConduitAPI_conduit_ping_Method
extends
ConduitAPIMethod
{
public
function
shouldRequireAuthentication
()
{
return
false
;
}
public
function
getMethodDescription
()
{
return
'Basic ping for monitoring or a health-check.'
;
}
public
function
defineParamTypes
()
{
return
array
();
}
public
function
defineReturnType
()
{
return
'string'
;
}
public
function
defineErrorTypes
()
{
return
array
();
}
protected
function
execute
(
ConduitAPIRequest
$request
)
{
return
php_uname
(
'n'
);
}
}
Event Timeline
Log In to Comment