---
title: requestModes
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsconnection/requestmodes-c.property
---

# requestModes

The set of request modes the receiver’s receive port is registered for with its NSRunLoop object.

## Declaration

```occ
@property (copy, readonly) NSArray<NSString *> * requestModes;
```

## Discussion

Discussion An array of NSString objects that represents the set of request modes the receiver’s receive port is registered for with its RunLoop object.

## See Also

### Related Documentation

- [add(_:forMode:)](foundation/runloop/add(_:formode:)-6z982.md)

### Configuring Instances

- [requestTimeout](foundation/nsconnection/requesttimeout.md)
- [replyTimeout](foundation/nsconnection/replytimeout.md)
- [independentConversationQueueing](foundation/nsconnection/independentconversationqueueing.md)
- [addRequestMode:](foundation/nsconnection/addrequestmode:.md)
- [removeRequestMode:](foundation/nsconnection/removerequestmode:.md)
- [invalidate](foundation/nsconnection/invalidate.md)
- [valid](foundation/nsconnection/valid.md)
