@digitalpersona/services
Version:
DigitalPersona Web Access Services
16 lines (12 loc) • 373 B
text/typescript
import { IService } from "../common";
import { ServiceEndpoint } from './endpoint';
export class Service implements IService
{
protected endpoint: ServiceEndpoint;
public constructor(endpoint: string) {
this.endpoint = new ServiceEndpoint(endpoint);
}
public Ping(): Promise<boolean> {
return this.endpoint.ping();
}
}