Client class
The main hub for interacting with the Navitia API.
Signature:
typescript
export declare class Client extends BaseClient
Extends: BaseClient
Constructors
Constructor | Modifiers | Description |
---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
boolean | If app run as debug mode | ||
DisruptionManager class | |||
| boolean | Indicates whether the client is ready to start working. | |
JourneysManager class | |||
LineManager class | |||
PlacesManager class | |||
The request manager of the client | |||
SearchManager: It is used to search for a train by headsign ID and other search queries | |||
string | The status of the client |
Methods
Method | Modifiers | Description |
---|---|---|
Logs the client in, establishing a connection to navitia. |