Contents

XPCListener.IncomingSessionRequest.Decision

An opaque type that indicates whether a listener accepts or rejects an incoming session request.

Declaration

struct Decision

Overview

When you create an XPCListener, you specify a closure that receives an XPCListener.IncomingSessionRequest. In that closure, you receive a Decision from the call to the request’s accept or reject methods. You don’t have to do anything with the decision other than return it from the closure.

See Also

Responding to client sessions requests