blob: fbf5f5c9f093bf3636ff1ad38a568ce49e925fd4 [file] [log] [blame] [view]
# request method
*[<Null safety>](https://dart.dev/null-safety)*
[InterfaceRequest](../../package-fidl_fidl/InterfaceRequest-class.md) request
()
<p>Takes ownership of the Directory's request object for binding
to another processes outgoing services.</p>
<p>The returned <a href="../../package-fidl_fidl/InterfaceRequest-class.md">InterfaceRequest</a> object is suitable to pass to
an object which can bind the directory.</p>
<p>Subsequent calls to this method throw a FidlStateException</p>
## Implementation
```dart
InterfaceRequest<Node> request() =>
InterfaceRequest(_dirProxy.ctrl.request().passChannel());
```