/** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { PingEndpointsInner } from '../models'; /** * DiscoveryV1Api - interface * * @export * @interface DiscoveryV1ApiInterface */ export interface DiscoveryV1ApiInterface { /** * Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DiscoveryV1ApiInterface */ getPingServiceEndpointsDeprecatedRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. */ getPingServiceEndpointsDeprecated(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; } /** * */ export declare class DiscoveryV1Api extends runtime.BaseAPI implements DiscoveryV1ApiInterface { /** * Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. */ getPingServiceEndpointsDeprecatedRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. */ getPingServiceEndpointsDeprecated(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; }