HasHeader returns if a header with the key specified exists with one or more value.
(key string)
| 98 | // HasHeader returns if a header with the key specified exists with one or |
| 99 | // more value. |
| 100 | func (e Encoder) HasHeader(key string) bool { |
| 101 | return len(e.header[key]) != 0 |
| 102 | } |
| 103 | |
| 104 | // SetURI returns a URIValue used for setting the given path key |
| 105 | func (e *Encoder) SetURI(key string) URIValue { |
no outgoing calls