func NewConn(codec Codec, factory RecorderFactory) *Conn {
	return &Conn{
		codec:           codec,
		clientPending:   make(map[uint64]*Call),
		recorderFactory: ensureFactory(factory),
	}
}
// NewConn creates a new connection that uses the given codec for
// transport, but it does not start it. Conn.Start must be called
// before any requests are sent or received. If recorderFactory is
// non-nil, it will be called to get a new recorder for every request.
NewConn creates a new connection that uses the given codec for
transport, but it does not start it. Conn.Start must be called
before any requests are sent or received. If recorderFactory is
non-nil, it will be called to get a new recorder for every request.
// NewConn creates a new connection that uses the given codec for // transport but it does not start it . Conn . Start must be called // before any requests are sent or received . If recorderFactory is // non - nil it will be called to get a new recorder for every request .
func NewConn(codec Codec, factory RecorderFactory) *Conn {
	return &Conn{
		codec:           codec,
		clientPending:   make(map[uint64]*Call),
		recorderFactory: ensureFactory(factory),
	}
}
func NewConn ( codec Codec , factory RecorderFactory ) * Conn { return & Conn { codec : codec , clientPending : make ( map [ uint64 ] * Call ) , recorderFactory : ensureFactory ( factory ) , } }
NewConn creates a new connection that uses the given codec for
transport, but it does not start it.
NewConn creates a new connection that uses the given codec for transport but it does not start it .