// WithDialContext specifies the dial func to use when dialing the charon socket.
WithDialContext specifies the dial func to use when dialing the charon socket.
// WithDialContext specifies the dial func to use when dialing the charon socket .
func WithDialContext(dialer func(ctx context.Context, network, addr string) (net.Conn, error)) SessionOption {
	return newFuncSessionOption(func(so *sessionOpts) {
		so.dialer = dialer
	})
}
func WithDialContext ( dialer func ( ctx context . Context , network , addr string ) ( net . Conn , error ) ) SessionOption { return newFuncSessionOption ( func ( so * sessionOpts ) { so . dialer = dialer } ) }
WithDialContext specifies the dial func to use when dialing the charon socket.
WithDialContext specifies the dial func to use when dialing the charon socket .