Versions in this module Expand all Collapse all v0 v0.26.0 Dec 1, 2026 v0.25.0 Dec 1, 2026 Changes in this version + type Error uint8 + const ErrConfiguration + const ErrExchange + const ErrHeaderConflict + const ErrInvalidRequest + const ErrOrigin + func (e Error) Error() string + type Option struct + func WithForbiddenRejection() Option + func WithRootCAs(roots *x509.CertPool) Option + type Transport struct + func NewBasicTransport(source credential.Source, origin string, opts ...Option) (*Transport, error) + func NewBearerTransport(source credential.Source, origin string, opts ...Option) (*Transport, error) + func (Transport) Format(s fmt.State, _ rune) + func (Transport) GoString() string + func (Transport) GobEncode() ([]byte, error) + func (Transport) LogValue() slog.Value + func (Transport) MarshalJSON() ([]byte, error) + func (Transport) String() string + func (t *Transport) CloseIdleConnections() + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)