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

    JSONP JSONP Sends a JSON response with JSONP support. This method is identical to JSON , except that it opts-in to JSONP callback support. By default, the callback name is simp...
  • JSONP

    JSONP JSONP Sends a JSON response with JSONP support. This method is identical to JSON , except that it opts-in to JSONP callback support. By default, the callback name is simp...
  • SendFile

    SendFile SendFile Transfers the file from the given path. Sets the Content-Type response HTTP header field based on the filenames extension. Method use gzipping by default...
  • SaveFile

    SaveFile SaveFile Method is used to save any multipart file to disk. c . SaveFile ( fh * multipart . FileHeader , path string ) app . Post ( "/" , func ( c * fibe...
  • Download

    367 2020-09-14 《Fiber v2.0 Document》
    Download Download Transfers the file from path as an attachment . Typically, browsers will prompt the user to download. By default, the Content-Disposition header filename= ...
  • SaveFile

    SaveFile SaveFile Method is used to save any multipart file to disk. c . SaveFile ( fh * multipart . FileHeader , path string ) app . Post ( "/" , func ( c * fiber...
  • IP

    IP IP Returns the remote IP address of the request. func ( c * Ctx ) IP () string app . Get ( "/" , func ( c * fiber . Ctx ) error { c . IP () // "127.0....
  • IP

    IP IP Returns the remote IP address of the request. func ( c * Ctx ) IP () string app . Get ( "/" , func ( c * fiber . Ctx ) error { c . IP () // "127.0.0...
  • OriginalURL

    OriginalURL OriginalURL Contains the original request URL. c . OriginalURL () string // GET http://example.com/search?q=something   app . Get ( "/" , func ( c * f...
  • SaveFile

    SaveFile SaveFile Method is used to save any multipart file to disk. func ( c * Ctx ) SaveFile ( fh * multipart . FileHeader , path string ) error app . Post ( ...