Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPConfig ¶
type HTTPConfig struct {
PocOpts []any // poc.PocConfigOption
}
func NewHTTPConfig ¶
func NewHTTPConfig() *HTTPConfig
func (*HTTPConfig) AppendPocOpts ¶ added in v1.3.2
func (c *HTTPConfig) AppendPocOpts(opt any)
type HttpOption ¶
type HttpOption func(req *HTTPConfig)
type YakHttpRequest ¶
type YakHttpRequest struct { *http.Request Config *HTTPConfig }
type YakHttpResponse ¶
func (*YakHttpResponse) Data ¶
func (y *YakHttpResponse) Data() string
func (*YakHttpResponse) GetHeader ¶
func (y *YakHttpResponse) GetHeader(key string) string
func (*YakHttpResponse) Json ¶
func (y *YakHttpResponse) Json() interface{}
func (*YakHttpResponse) Raw ¶
func (y *YakHttpResponse) Raw() []byte
Click to show internal directories.
Click to hide internal directories.