Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostHeader ¶
HostHeader compute valid host header. host must be idna formatted
Types ¶
type HttpClientResponse ¶
type HttpClientResponse struct {
Reader io.ReadCloser
// contains filtered or unexported fields
}
func NewHttpClientResponse ¶
func NewHttpClientResponse(status specs.StatusCode, header *specs.Header) *HttpClientResponse
func ReadResponse ¶
func (*HttpClientResponse) Body ¶
func (resp *HttpClientResponse) Body() io.ReadCloser
func (*HttpClientResponse) Header ¶
func (resp *HttpClientResponse) Header() *specs.Header
func (*HttpClientResponse) StatusCode ¶
func (resp *HttpClientResponse) StatusCode() specs.StatusCode
Click to show internal directories.
Click to hide internal directories.