Documentation
¶
Index ¶
Constants ¶
View Source
const ( Auto = iota FAST STANDARD )
Variables ¶
View Source
var (
DefaultMaxBodySize = 1024 * 100 // 100k
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Config *ClientConfig
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config *ClientConfig) *Client
func (*Client) StandardDo ¶
func (*Client) TransToCheck ¶ added in v0.1.2
func (c *Client) TransToCheck()
type ClientConfig ¶ added in v0.9.2
type Request ¶
func BuildHostRequest ¶ added in v0.1.2
func BuildPathRequest ¶ added in v0.1.2
func (*Request) SetHeaders ¶ added in v0.6.1
type Response ¶
type Response struct {
StandardResponse *http.Response
FastResponse *fasthttp.Response
ClientType int
}
func (*Response) ContentLength ¶
func (*Response) ContentType ¶ added in v0.7.2
func (*Response) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.