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

    Set Set Sets the response’s HTTP header field to the specified key , value . c . Set ( field , value string ) app . Get ( "/" , func ( c * fiber . Ctx ) { c . ...
  • Response

    Response Response Request return the *fasthttp.Response pointer Signature func ( c * Ctx ) Response () * fasthttp . Response Example app . Get ( "/" , func ( ...
  • Response

    420 2020-09-14 《Fiber v2.0 Document》
    Response Response Request return the *fasthttp.Response pointer Signature func ( c * Ctx ) Response () * fasthttp . Response Example app . Get ( "/" , func ( ...
  • Location

    Location Location Sets the response Location HTTP header to the specified path parameter. c . Location ( path string ) app . Post ( "/" , func ( c * fiber . Ctx ) ...
  • Location

    Location Location Sets the response Location HTTP header to the specified path parameter. c . Location ( path string ) app . Post ( "/" , func ( c * fiber . Ctx ) ...
  • IPs

    309 2020-09-14 《Fiber v2.0 Document》
    IPs IPs Returns an array of IP addresses specified in the X-Forwarded-For request header. func ( c * Ctx ) IPs () [] string // X-Forwarded-For: proxy1, 127.0.0.1,...
  • Protocol

    Protocol Protocol Contains the request protocol string: http or https for TLS requests. func ( c * Ctx ) Protocol () string // GET http://example.com app ....
  • App

    App App Returns the *App reference so you could easily access all application settings. c . App () * App app . Get ( "/bodylimit" , func ( c * fiber . Ctx ) { ...
  • App

    App App Returns the *App reference so you could easily access all application settings. func ( c * Ctx ) App () * App app . Get ( "/stack" , func ( c * fiber ....
  • BaseURL

    369 2020-09-14 《Fiber v2.0 Document》
    BaseURL BaseURL Returns the base URL (protocol + host ) as a string . func ( c * Ctx ) BaseURL () string // GET https://example.com/page#chapter-1 app . Get (...