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

    Hostname Hostname Returns the hostname derived from the Host HTTP header. func ( c * Ctx ) Hostname () string // GET http://google.com/search app . Get ( "/"...
  • Redirect

    Redirect Redirect Redirects to the URL derived from the specified path, with specified status, a positive integer that corresponds to an HTTP status code. If not specified, ...
  • Type

    Type Type Sets the Content-Type HTTP header to the MIME type listed here specified by the file extension . func ( c * Ctx ) Type ( ext string , charset ... string ) ...
  • Subdomains

    Subdomains Subdomains Returns a string slice of subdomains in the domain name of the request. The application property subdomain offset, which defaults to 2 , is used for dete...
  • Links

    Links Links Joins the links followed by the property to populate the response’s Link HTTP header field. c . Links ( link ... string ) app . Get ( "/" , func ( c * fi...
  • Links

    Links Links Joins the links followed by the property to populate the response’s Link HTTP header field. c . Links ( link ... string ) app . Get ( "/" , func ( c * f...
  • SendStatus

    SendStatus SendStatus Sets the status code and the correct status message in the body, if the response body is empty . You can find all used status codes and messages here . ...
  • 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...
  • Append

    Append Append Appends the specified value to the HTTP response header field. If the header is not already set, it creates the header with the specified value. func ( c ...
  • Subdomains

    392 2020-09-14 《Fiber v2.0 Document》
    Subdomains Subdomains Returns a string slice of subdomains in the domain name of the request. The application property subdomain offset, which defaults to 2 , is used for dete...