Headers returns a Header used for encoding headers with the given prefix
(prefix string)
| 89 | |
| 90 | // Headers returns a Header used for encoding headers with the given prefix |
| 91 | func (e *Encoder) Headers(prefix string) Headers { |
| 92 | return Headers{ |
| 93 | header: e.header, |
| 94 | prefix: strings.TrimSpace(prefix), |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // HasHeader returns if a header with the key specified exists with one or |
| 99 | // more value. |