书栈网 · BookStack 本次搜索耗时 0.038 秒,为您找到 889 个相关结果.
  • Overview

    488 2019-09-21 《Slim 2 Document》
    Overview Overview Each Slim application instance has one request object. The request object is an abstraction of the currentHTTP request and allows you to easily interact with ...
  • ETag

    410 2019-09-21 《Slim 2 Document》
    A Slim application provides built-in support for HTTP caching using ETags. An ETag is a unique identifier for aresource URI. When an ETag header is set with the Slim applica...
  • Paths

    524 2019-09-21 《Slim 2 Document》
    Paths Root URI Resource URI Paths Every HTTP request received by a Slim application will have a root URI and a resource URI. Root URI The root URI is the physical URL pat...
  • PATCH Routes

    409 2019-09-21 《Slim 2 Document》
    PATCH PATCH Use the Slim application’s patch() method to map a callback function to a resource URI that is requested withthe HTTP PATCH method. <? php $app = new \Slim\...
  • Headers

    438 2019-09-21 《Slim 2 Document》
    Headers Headers A Slim application will automatically parse all HTTP request headers. You can access the request headers using therequest object’s public headers property. The...
  • Debug Mode

    523 2019-09-21 《Slim 2 Document》
    Debug Debug You can enable debugging during application instantiation with this setting: <? php $app = new \Slim\Slim ( array ( 'debug' => true )); Y...
  • Overview

    420 2019-09-21 《Slim 2 Document》
    Overview Important Notes Overview Let’s face it: sometimes things go wrong. It is important to intercept errors and respond to them appropriately. ASlim application provides h...
  • Writers

    488 2019-09-21 《Slim 2 Document》
    Writers How to use a custom log writer Writers The Slim application’s log object has a log writer. The log writer is responsible for sending a logged message tothe appropriate...
  • Custom Routes

    495 2019-09-21 《Slim 2 Document》
    Custom One route, multiple HTTP methods One route, custom http methods Custom One route, multiple HTTP methods Sometimes you may need a route to respond to multiple HTTP me...
  • Routing

    Routing How to create routes GET Route POST Route PUT Route DELETE Route OPTIONS Route PATCH Route Any Route Custom Route Route callbacks Writing content to the response ...