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

    289 2020-09-14 《Fiber v2.0 Document》
    Location Location Sets the response Location HTTP header to the specified path parameter. func ( c * Ctx ) Location ( path string ) app . Post ( "/" , func ( c *...
  • IPs

    IPs IPs Returns an array of IP addresses specified in the X-Forwarded-For request header. c . IPs () [] string // X-Forwarded-For: proxy1, 127.0.0.1, proxy3   app ...
  • Attachment

    Attachment Attachment Sets the HTTP response Content-Disposition header field to attachment . func ( c * Ctx ) Attachment ( filename ... string ) app . Get ( "/" ...
  • FormValue

    FormValue FormValue Any form values can be retrieved by name, the first value from the given key is returned. c . FormValue ( name string ) string app . Post ( "/" ...
  • Write

    Write Write Appends any input to the HTTP body response. c . Write ( body ... interface {}) app . Get ( "/" , func ( c * fiber . Ctx ) { c . Write ( "Hello, " ...
  • Location

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

    Status Status Sets the HTTP status for the response. Method is a chainable . c . Status ( status int ) app . Get ( "/" , func ( c * fiber . Ctx ) { c . Status...
  • Status

    Status Status Sets the HTTP status for the response. Method is a chainable . c . Status ( status int ) app . Get ( "/" , func ( c * fiber . Ctx ) { c . Status...
  • 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 ...
  • Set

    334 2020-09-14 《Fiber v2.0 Document》
    Set Set Sets the response’s HTTP header field to the specified key , value . func ( c * Ctx ) Set ( key string , val string ) app . Get ( "/" , func ( c * fiber...