Page MenuHomePhorge

ConduitPingConduitAPIMethod.php
No OneTemporary

Size
559 B
Referenced Files
None
Subscribers
None

ConduitPingConduitAPIMethod.php

<?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');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 1:41 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
106628
Default Alt Text
ConduitPingConduitAPIMethod.php (559 B)

Event Timeline