EndpointRef constructor

EndpointRef(
  1. EndpointCaller caller
)

Creates a new EndpointRef.

Implementation

EndpointRef(this.caller) {
  if (caller is ServerpodClientShared) {
    client = caller as ServerpodClientShared;
  } else if (caller is ModuleEndpointCaller) {
    client = (caller as ModuleEndpointCaller).client;
  }
}