Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104532320
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
Mon, Mar 10, 05:52
Size
544 B
Mime Type
text/x-php
Expires
Wed, Mar 12, 05:52 (2 d)
Engine
blob
Format
Raw Data
Handle
24806323
Attached To
rPH Phabricator
ConduitAPI_conduit_ping_Method.php
View Options
<?php
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