onBehalfOf method

Client onBehalfOf(
  1. UserId user
)

Creates a new client which sends requests on behalf of the given user.

Implementation

Client onBehalfOf(UserId user) {
    ActorRequestFactory requests = _requests(user);
    return _newClient(requests);
}