receive
Subscribe to additional contexts for inbound call and message events. Sends a
signalwire.receive request to start receiving events on the specified contexts
without reconnecting.
Use this to dynamically expand the set of contexts after the initial connection.
Contexts passed to the RelayClient constructor
are subscribed automatically at connect time — this method is for adding more
at runtime.
Contexts are strings that act as routing labels. A phone number configured in your SignalWire dashboard sends calls to a specific context. Subscribe to that context to receive those calls.
Parameters
contexts
List of context names to subscribe to. If the list is empty, the method returns immediately without sending a request.
Returns
None