Google is committed to advancing racial equity for Black communities. See how.

serve method

*<Null safety>*

int serve (InterfaceRequest request, {int rights: openRightReadable | openRightWritable})

Serves this request directory over request channel. Caller may specify the rights granted to the request connection. If rights is omitted, it defaults to readable and writable.


int serve(fidl.InterfaceRequest<Node> request,
    {int rights = openRightReadable | openRightWritable}) {
  assert((rights & ~Flags.fsRights) == 0);
  return connect(openFlagDirectory | rights, 0, request);