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

    XHR XHR A Boolean property, that is true , if the request’s X-Requested-With header field is XMLHttpRequest , indicating that the request was issued by a client library (such ...
  • Method

    Method Method Returns a string corresponding to the HTTP method of the request: GET , POST , PUT , and so on.Optionally, you could override the method by passing a string. fu...
  • Method

    315 2020-09-14 《Fiber v2.0 Document》
    Method Method Returns a string corresponding to the HTTP method of the request: GET , POST , PUT , and so on.Optionally, you could override the method by passing a string. fu...
  • Subdomains

    Subdomains Subdomains An array of subdomains in the domain name of the request. The application property subdomain offset, which defaults to 2 , is used for determining the be...
  • OriginalURL

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

    Hostname Hostname Returns the hostname derived from the Host HTTP header. func ( c * Ctx ) Hostname () string // GET http://google.com/search app . Get ( "/" ...
  • 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...
  • MultipartForm

    MultipartForm MultipartForm To access multipart form entries, you can parse the binary with MultipartForm() . This returns a map[string][]string , so given a key the value will...
  • Links

    Links Links Joins the links followed by the property to populate the response’s Link HTTP header field. func ( c * Ctx ) Links ( link ... string ) app . Get ( "/"...
  • 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...