Documentation
¶
Index ¶
- type HTTPResponse
- type HttpClient
- func (h *HttpClient) Constructor(call goja.ConstructorCall) *goja.Object
- func (c *HttpClient) Del(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Get(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Head(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Options(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Patch(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Post(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) Put(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- func (c *HttpClient) WithTrace(fn HttpFunc, url goja.Value, args ...goja.Value) (*HTTPResponse, error)
- type HttpFunc
- type HttpRequestFunc
- type NewFunc
- type Options
- type TracetestOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPResponse ¶
type HttpClient ¶
type HttpClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(vu modules.VU) *HttpClient
func (*HttpClient) Constructor ¶
func (h *HttpClient) Constructor(call goja.ConstructorCall) *goja.Object
func (*HttpClient) Del ¶
func (c *HttpClient) Del(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Get ¶
func (c *HttpClient) Get(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Head ¶
func (c *HttpClient) Head(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Options ¶
func (c *HttpClient) Options(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Patch ¶
func (c *HttpClient) Patch(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Post ¶
func (c *HttpClient) Post(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) Put ¶
func (c *HttpClient) Put(url goja.Value, args ...goja.Value) (*HTTPResponse, error)
func (*HttpClient) WithTrace ¶
func (c *HttpClient) WithTrace(fn HttpFunc, url goja.Value, args ...goja.Value) (*HTTPResponse, error)
type HttpRequestFunc ¶
type Options ¶
type Options struct { Propagator models.Propagator Tracetest TracetestOptions }
type TracetestOptions ¶
type TracetestOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.