adt/rest-api

此包已被废弃,不再维护。未建议替代包。
此包最新版本(dev-master)没有提供许可证信息。

简单的RESTful通信API

dev-master 2015-01-10 13:32 UTC

This package is auto-updated.

Last update: 2022-05-29 01:09:06 UTC


README

config.neon中的基本配置:

class Application implements Adt\RestAPI\IApplicationService {
  
  function getApplicationSecret($appId) {
    // your code
  }
  
}
services:
  # only server side configuration
  - Application
  - ADT\Rest\ApiSignature
  
  # only client side configuration
  - ADT\Rest\Service\Api
  - ADT\Rest\Signature(appId, appSecret)