Type alias StandardPresets

StandardPresets: {
    customDataHandler: {
        content: {
            id: string;
            property: string;
            value: Serializable;
        };
        returns: void;
    };
    identify: {
        content: {
            id: string;
        };
        gets: number;
        returns: string | Promise<string>;
        sends: string;
    };
    setCustomData: {
        content: Serializable;
        returns: void;
    };
}

Type declaration

  • customDataHandler: {
        content: {
            id: string;
            property: string;
            value: Serializable;
        };
        returns: void;
    }

    Default method to retrieve custom data.

    • content: {
          id: string;
          property: string;
          value: Serializable;
      }
    • returns: void
  • identify: {
        content: {
            id: string;
        };
        gets: number;
        returns: string | Promise<string>;
        sends: string;
    }

    Default method to identify a client to a server.

    • content: {
          id: string;
      }
      • id: string
    • gets: number
    • returns: string | Promise<string>
    • sends: string
  • setCustomData: {
        content: Serializable;
        returns: void;
    }

    Default method to set custom data.

Generated using TypeDoc