func NewConn(s Stream) *Conn {
	conn := &Conn{
		stream:  s,
		pending: make(map[ID]chan *Response),
	}
	return conn
}
// NewConn creates a new connection object around the supplied stream.
// You must call Run for the connection to be active.
NewConn creates a new connection object around the supplied stream.
You must call Run for the connection to be active.
// NewConn creates a new connection object around the supplied stream . // You must call Run for the connection to be active .
func NewConn(s Stream) *Conn {
	conn := &Conn{
		stream:  s,
		pending: make(map[ID]chan *Response),
	}
	return conn
}
func NewConn ( s Stream ) * Conn { conn := & Conn { stream : s , pending : make ( map [ ID ] chan * Response ) , } return conn }
NewConn creates a new connection object around the supplied stream.
NewConn creates a new connection object around the supplied stream .