# onBind2FeaturesReceived method

1. @override

Future <List <XMLNode>> onBind2FeaturesReceived(

1. List <String> bind2Features

)
override

Called by the Bind2 negotiator when Bind2 features are received. The returned XMLNodes are added to Bind2's bind request.

## Implementation

    @override
    Future<List<XMLNode>> onBind2FeaturesReceived(
      List<String> bind2Features,
    ) async {
      if (!bind2Features.contains(carbonsXmlns)) {
        return [];
      }

      _requestedEnablement = true;
      return [
        XMLNode.xmlns(
          tag: 'enable',
          xmlns: carbonsXmlns,
        ),
      ];
    }