package httpclient

Import Path
	go.pact.im/x/httpclient (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package httpclient defines a mockable http.Client interface.
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
Client is an interface describing the methods required from HTTP client. It is satisfied by *http.Client type. Do sends an HTTP request and returns an HTTP response. *go.pact.im/x/httpclient/mockhttpclient.MockClient *go.pact.im/x/httprange.HTTPStrongValidator *net/http.Client *net/http/httputil.ClientConn func DefaultClient() Client func go.pact.im/x/httprange.(*HTTPStrongValidatorBuilder).Build(_ context.Context, mp httprange.HTTPMetadataProvider, client Client) (Client, error) func go.pact.im/x/httprange.HTTPValidatorBuilder.Build(context.Context, httprange.HTTPMetadataProvider, Client) (Client, error) func go.pact.im/x/httprange.BuildFromRawURL(ctx context.Context, rawURL string, client Client) (*httprange.BytesResource, error) func go.pact.im/x/httprange.NewBuilderFromURL(u *url.URL, client Client) *httprange.Builder func go.pact.im/x/httprange.(*HTTPStrongValidatorBuilder).Build(_ context.Context, mp httprange.HTTPMetadataProvider, client Client) (Client, error) func go.pact.im/x/httprange.HTTPValidatorBuilder.Build(context.Context, httprange.HTTPMetadataProvider, Client) (Client, error)
Package-Level Functions (only one, which is exported)
DefaultClient returns http.DefaultClient.