Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradfitz/exp-httpclient
/ types & classes
Types & classes
17 in github.com/bradfitz/exp-httpclient
⨍
Functions
54
◇
Types & classes
17
↓ 1 callers
FuncType
HandlerFunc
HandlerFunc implements Handler using the underlying func.
httpclient/httpclient.go:306
Struct
Connection
Connection represents the HTTP client's underlying connection (usually TCP or TLS-over-TCP) to the server.
httpclient/httpclient.go:234
FuncType
Fetcher
A Fecher executes an HTTP request and returns a Response.
httpclient/httpclient.go:42
Interface
Handler
Handler is the interface for something that can process an HTTP response from a server.
httpclient/httpclient.go:301
Interface
HandlerState
HandlerState is the interface available for Handlers while processing an HTTP response from a server.
httpclient/httpclient.go:289
Struct
Header
Header are the response headers.
httpclient/httpclient.go:220
TypeAlias
Method
Method is an HTTP method. Although HTTP methods are case insensitive, values of this type must contain only capital letters.
http/method.go:9
Interface
Pool
httpclient/httpclient.go:193
Struct
Protocol
Protocol represents the HTTP version and TLS connection state.
http/proto.go:10
FuncType
RedirectPolicy
func(RedirectState) error
httpclient/httpclient.go:165
Struct
RedirectState
httpclient/httpclient.go:167
Struct
Request
Request is an HTTP client request. It can only be used once.
httpclient/httpclient.go:51
Interface
RequestOpt
RequestOpt is an option that modifies an HTTP fetch.
httpclient/httpclient.go:37
Interface
ResponseData
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
Struct
Status
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
Struct
StatusError
StatusError is the error type returned when the status was not 2xx.
httpclient/httpclient.go:313
Struct
resT
httpclient/example_test.go:9