Skip to content
On this page

Home > sncf.js > RequestManager

RequestManager class

Signature:

typescript
export declare class RequestManager extends EventEmitter

Extends: EventEmitter

Constructors

Constructor

Modifiers

Description

(constructor)(client)

The client that instantiated this WebSocketManager

Properties

Property

Modifiers

Type

Description

config

any

The configuration of the request manager

requestNumber

number

The number of the request

Methods

Method

Modifiers

Description

connect()

Try to log in with the token

encodeURL(path, params)

Encode the parameters and the url

request(path, params)

Make a request to the API