Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(s *HTTP)
Option configures an HTTP.
func WithExpectBody ¶
WithExpectBody configures response body expectation
func WithExpectHeader ¶ added in v1.1.0
WithExpectHeader configures response header expectation
func WithExpectStatusCode ¶
WithExpectStatusCode configures response status code expectation
func WithTimeout ¶
WithTimeout configures a time limit for requests made by the HTTP client
Click to show internal directories.
Click to hide internal directories.