Documentation ¶
Index ¶
- Constants
- type HttpClientX
- func (c *HttpClientX) Do(req *http.Request) (*http.Response, error)
- func (c *HttpClientX) Get(urlsr string) (resp *http.Response, err error)
- func (c *HttpClientX) Head(urlsr string) (resp *http.Response, err error)
- func (c *HttpClientX) Post(urlsr, contentType string, body io.Reader) (resp *http.Response, err error)
- func (c *HttpClientX) PostForm(urlsr string, data url.Values) (resp *http.Response, err error)
Constants ¶
View Source
const ( HTTP_CLIENT_H10 = "HTTP/1.0" HTTP_CLIENT_H11 = "HTTP/1.1" HTTP_CLIENT_H20 = "HTTP/2.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.