Versions in this module Expand all Collapse all v1 v1.0.6 Jun 25, 2021 Changes in this version + var ErrNoBody = errors.New("no body") + var ErrTooLargeBody = errors.New("too large body") + var MaxBodyLength int64 = 16 * 1024 * 1024 + func ReadAll(req *http.Request) (b []byte, err error) + type SeekableCloser interface + func New(req *http.Request) (r SeekableCloser, err error) + type Seekabler interface + Bytes func() []byte + Read func(val []byte) (n int, err error) + SeekToBegin func() error