A base class for the PlayerStat Service

Hierarchy

  • PlayerStatService

Constructors

Properties

Methods

Constructors

  • Constructor fot the PlayerStat Service

    Parameters

    • http: HttpClient

      HttpClient for sending HTTP requests

    Returns PlayerStatService

Properties

headers: {
    content-type: string;
} = ...

Headers for adding to HTTP requests

Type declaration

  • content-type: string
http: HttpClient

HttpClient for sending HTTP requests

Methods

  • Sends HTTP GET request to the '/player-stats' endpoint of the server

    Returns

    Observable of PlayerStat data

    Returns Observable<any>

Generated using TypeDoc