BaseURL returns (protocol + host + base path).
()
| 86 | |
| 87 | // BaseURL returns (protocol + host + base path). |
| 88 | func (r *DefaultReq) BaseURL() string { |
| 89 | return r.c.BaseURL() |
| 90 | } |
| 91 | |
| 92 | // BodyRaw contains the raw body submitted in a POST request. |
| 93 | // Returned value is only valid within the handler. Do not store any references. |