Categorygithub.com/rickb777/httpclient
modulepackage
0.28.0
Repository: https://github.com/rickb777/httpclient.git
Documentation: pkg.go.dev

# README

httpclient

Wrappers for HTTP client operations

  • Logging requests via a pluggable logger

# Packages

Package body provides a buffering utility allowing HTTP request and response bodies to be buffered so they can be read multiple times.
No description provided by the author
Package hostheader provides a HttpClient wrapper that automatically inserts the Host header into the requests it makes.
No description provided by the author
No description provided by the author
No description provided by the author
Package mime implements parts of the MIME spec similarly to the standard "mime" package.
Package prefix provides fixed prefixing for HTTP client requests.
No description provided by the author
Package testhttpclient provides a tool for testing code that uses HTTP client(s).

# Variables

DefaultClient is the http.Client zero-valued default.

# Structs

WithFinalNewline adds a final newline to a written stream of bytes.

# Interfaces

No description provided by the author
HttpClient indicates the core function in http.Client, allowing features to be nested easily.