Documentation ¶
Overview ¶
Package oldhttptransport contains HTTP transport extensions. Here we define a http.Transport that emits events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyTracer ¶
type BodyTracer struct {
Transport http.RoundTripper
}
BodyTracer performs single HTTP transactions and emits measurement events as they happen.
func NewBodyTracer ¶
func NewBodyTracer(roundTripper http.RoundTripper) *BodyTracer
NewBodyTracer creates a new Transport.
func (*BodyTracer) CloseIdleConnections ¶
func (t *BodyTracer) CloseIdleConnections()
CloseIdleConnections closes the idle connections.
type TraceTripper ¶
type TraceTripper struct {
// contains filtered or unexported fields
}
TraceTripper performs single HTTP transactions.
func NewTraceTripper ¶
func NewTraceTripper(roundTripper http.RoundTripper) *TraceTripper
NewTraceTripper creates a new Transport.
func (*TraceTripper) CloseIdleConnections ¶
func (t *TraceTripper) CloseIdleConnections()
CloseIdleConnections closes the idle connections.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport performs single HTTP transactions and emits measurement events as they happen.
func (*Transport) CloseIdleConnections ¶
func (t *Transport) CloseIdleConnections()
CloseIdleConnections closes the idle connections.
Click to show internal directories.
Click to hide internal directories.