MCPcopy Create free account

hub / github.com/bradfitz/exp-httpclient / types & classes

Types & classes17 in github.com/bradfitz/exp-httpclient

↓ 1 callersFuncTypeHandlerFunc
HandlerFunc implements Handler using the underlying func.
httpclient/httpclient.go:306
StructConnection
Connection represents the HTTP client's underlying connection (usually TCP or TLS-over-TCP) to the server.
httpclient/httpclient.go:234
FuncTypeFetcher
A Fecher executes an HTTP request and returns a Response.
httpclient/httpclient.go:42
InterfaceHandler
Handler is the interface for something that can process an HTTP response from a server.
httpclient/httpclient.go:301
InterfaceHandlerState
HandlerState is the interface available for Handlers while processing an HTTP response from a server.
httpclient/httpclient.go:289
StructHeader
Header are the response headers.
httpclient/httpclient.go:220
TypeAliasMethod
Method is an HTTP method. Although HTTP methods are case insensitive, values of this type must contain only capital letters.
http/method.go:9
InterfacePool
httpclient/httpclient.go:193
StructProtocol
Protocol represents the HTTP version and TLS connection state.
http/proto.go:10
FuncTypeRedirectPolicy
func(RedirectState) error
httpclient/httpclient.go:165
StructRedirectState
httpclient/httpclient.go:167
StructRequest
Request is an HTTP client request. It can only be used once.
httpclient/httpclient.go:51
InterfaceRequestOpt
RequestOpt is an option that modifies an HTTP fetch.
httpclient/httpclient.go:37
InterfaceResponseData
ResponseData represents the response body in its possibly unmarhsaled form. The concrete type depends on the the Handler used. If Go gets generics, t
httpclient/httpclient.go:285
StructStatus
Status is an HTTP status code along with an optional HTTP/1 reason-phrase. See RFC 7231 section 6 for details. 1xx: ... 2xx: ... 3xx: ... 4xx: ... 5
http/status.go:17
StructStatusError
StatusError is the error type returned when the status was not 2xx.
httpclient/httpclient.go:313
StructresT
httpclient/example_test.go:9