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

    515 2019-09-21 《Slim 2 Document》
    Body Body Use the request object’s getBody() method to fetch the raw HTTP request body sent by the HTTP client. This isparticularly useful for Slim application’s that consume ...
  • Content Length

    Content Length Middleware Usage Content Length Middleware The Content Length Middleware will automatically append a Content-Length header to the response. This is to replace ...
  • Groups

    509 2019-09-21 《Slim 2 Document》
    Groups Groups Slim lets you group related routes. This is helpful when you find yourself repeating the same URL segmentsfor multiple routes. This is best explained with an exam...
  • DELETE Routes

    493 2019-09-21 《Slim 2 Document》
    DELETE Method Override DELETE Use the Slim application’s delete() method to map a callback function to a resource URI that is requested withthe HTTP DELETE method. <? php ...
  • 8.3. 检索当前路由

    633 2019-09-21 《Slim 3 中文文档》
    检索当前路由 检索当前路由 如果你需要在应用程序中获取当前的路由,你所需要做但就是,调用 HTTP 请求类的带有 'route' 参数的 getAttribute 方法,它将返回当前的路由,这个路由是 Slim\Route 类的实例。class. 可以使用 getName() 获取路由的名称,或者使用 getMethods() 获取此路由支...
  • Parameters

    467 2019-09-21 《Slim 2 Document》
    Parameters Wildcard route parameters Optional route parameters Parameters You can embed parameters into route resource URIs. In this example, I have two parameters in myroute...
  • Output Buffering

    Output Buffering Middleware Usage Output Buffering Middleware The Output Buffering Middleware enables you to switch between two modes of output buffering: APPEND (default) an...
  • PSR-7

    PSR-7 and Value Objects Value objects PSR-7 and Value Objects Slim supports PSR-7 interfaces forits Request and Response objects. This makes Slim flexible because it canuse a...
  • 模板引擎的使用

    1071 2018-04-22 《Rails 实践》
    3.4 模板引擎的使用 概要: 知识点: 正文 3.4.1 haml 3.4.2 slim 3.4.3 liquid 3.4.4 devise 的邮件模板 3.4 模板引擎的使用 概要: 本课时结合商品页面,讲解如何使用简洁安全的模板引擎,以及如何更改邮件模板。 知识点: haml slim liquid 邮件模板 正...
  • Enabling CORS

    1067 2019-09-21 《Slim 4 Documentation》
    Setting up CORS The simple solution Access-Control-Allow-Methods Setting up CORS CORS - Cross origin resource sharing A good flowchart for implementing CORS support Referenc...