Documentation ¶
Overview ¶
Package stash provides a modifier that stores the request URL in a specified header.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Modifier ¶
type Modifier struct {
// contains filtered or unexported fields
}
Modifier adds a header to the request containing the current state of the URL. The header will be named with the value stored in headerName. There will be no validation done on this header name.
func NewModifier ¶
NewModifier returns a RequestModifier that write the current URL into a header.
func (*Modifier) ModifyRequest ¶
ModifyRequest writes the current URL into a header.
Click to show internal directories.
Click to hide internal directories.