Versions in this module Expand all Collapse all v2 v2.0.3 Jan 16, 2026 v2.0.2 Jan 16, 2026 Changes in this version + const AcceptEncodingHeader + const AcceptHeader + const BASEURL + const BODY + const ContentEncodingHeader + const ContentTypeHeader + const ContentTypeJSON + const EncodingDeflate + const EncodingGzip + const FORWARDED_CLIENT_HEADER_NAMES + const FORWARDED_CLIENT_HEADER_REGULAR_EXPRESSIONS + const HEADER + const HOST + const METHOD + const PATH + const QUERYPARAMS + const SCHEME + const SSE_METHOD_POST + const TRACE + const UNDEFINED_VARIABLES + const URL + const URLENCODE_BODY + const USE_SSE + const WsSubProtocol + var DefaultNetHttpClient = &http.Client + func BodyHashFromContext(ctx context.Context) (uint64, bool) + func Do(client *http.Client, ctx context.Context, requestInput []byte, ...) (err error) + func DoMultipartForm(client *http.Client, ctx context.Context, requestInput []byte, ...) (err error) + func GetSubscriptionInput(input []byte) (url, header, body []byte) + func IsInputFlagSet(input []byte, flagName string) bool + func SetForwardedClientHeaderNames(input, headers []byte) []byte + func SetForwardedClientHeaderRegularExpressions(input, headers []byte) []byte + func SetInputBody(input, body []byte) []byte + func SetInputBodyWithPath(input, body []byte, path string) []byte + func SetInputFlag(input []byte, flagName string) []byte + func SetInputHeader(input, headers []byte) []byte + func SetInputHost(input, host []byte) []byte + func SetInputMethod(input, method []byte) []byte + func SetInputPath(input, path []byte) []byte + func SetInputQueryParams(input, queryParams []byte) []byte + func SetInputScheme(input, scheme []byte) []byte + func SetInputURL(input, url []byte) []byte + func SetInputURLEncodeBody(input []byte, urlEncodeBody bool) []byte + func SetInputWSSubprotocol(input, wsSubProtocol []byte) []byte + func SetUndefinedVariables(data []byte, undefinedVariables []string) ([]byte, error) + func UndefinedVariables(data []byte) []string + type FileUpload struct + func NewFileUpload(path string, name string, variablePath string) *FileUpload + func (f *FileUpload) Name() string + func (f *FileUpload) Path() string + func (f *FileUpload) SetVariablePath(variablePath string) + func (f *FileUpload) VariablePath() string + type ResponseContext struct + Request *http.Request + Response *http.Response + StatusCode int + func InjectResponseContext(ctx context.Context) (context.Context, *ResponseContext) + type TraceHTTP struct + Request TraceHTTPRequest + Response TraceHTTPResponse + type TraceHTTPRequest struct + Headers http.Header + Method string + URL string + type TraceHTTPResponse struct + BodySize int + Headers http.Header + Status string + StatusCode int