Header menu logo fshafas

HafasRawClient Type

Direct (`raw`) interface to the hafas endpoints

Constructors

Constructor Description

HafasRawClient(endpoint, addChecksum, addMicMac, salt, cfg, transformReq, baseRequest)

Full Usage: HafasRawClient(endpoint, addChecksum, addMicMac, salt, cfg, transformReq, baseRequest)

Parameters:
Returns: HafasRawClient
endpoint : string
addChecksum : bool
addMicMac : bool
salt : string
cfg : Cfg
transformReq : RawRequest -> RawRequest
baseRequest : RawRequest
Returns: HafasRawClient

Instance members

Instance member Description

this.AsyncBestPriceSearch

Full Usage: this.AsyncBestPriceSearch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>
lang : string
tripSearchRequest : TripSearchRequest
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>

this.AsyncHimSearch

Full Usage: this.AsyncHimSearch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawHim array option>
lang : string
himSearchRequest : HimSearchRequest
Returns: Async<RawCommon option * RawResult option * RawHim array option>

this.AsyncJourneyDetails

Full Usage: this.AsyncJourneyDetails

Parameters:
Returns: Async<RawCommon option * RawResult option * RawJny option>
lang : string
journeyDetailsRequest : JourneyDetailsRequest
Returns: Async<RawCommon option * RawResult option * RawJny option>

this.AsyncJourneyGeoPos

Full Usage: this.AsyncJourneyGeoPos

Parameters:
Returns: Async<RawCommon option * RawResult option * RawJny array option>
lang : string
journeyGeoPosRequest : JourneyGeoPosRequest
Returns: Async<RawCommon option * RawResult option * RawJny array option>

this.AsyncJourneyMatch

Full Usage: this.AsyncJourneyMatch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawJny array option>
lang : string
journeyMatchRequest : JourneyMatchRequest
Returns: Async<RawCommon option * RawResult option * RawJny array option>

this.AsyncLineMatch

Full Usage: this.AsyncLineMatch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawLine array option>
lang : string
lineMatchRequest : LineMatchRequest
Returns: Async<RawCommon option * RawResult option * RawLine array option>

this.AsyncLocDetails

Full Usage: this.AsyncLocDetails

Parameters:
Returns: Async<RawCommon option * RawResult option * RawLoc option>
lang : string
locDetailsRequest : LocDetailsRequest
Returns: Async<RawCommon option * RawResult option * RawLoc option>

this.AsyncLocGeoPos

Full Usage: this.AsyncLocGeoPos

Parameters:
Returns: Async<RawCommon option * RawResult option * RawLoc array option>
lang : string
locGeoPosRequest : LocGeoPosRequest
Returns: Async<RawCommon option * RawResult option * RawLoc array option>

this.AsyncLocGeoReach

Full Usage: this.AsyncLocGeoReach

Parameters:
Returns: Async<RawCommon option * RawResult option * RawPos array>
lang : string
locGeoReachRequest : LocGeoReachRequest
Returns: Async<RawCommon option * RawResult option * RawPos array>

this.AsyncLocMatch

Full Usage: this.AsyncLocMatch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawLoc array option>
lang : string
locMatchRequest : LocMatchRequest
Returns: Async<RawCommon option * RawResult option * RawLoc array option>

this.AsyncReconstruction

Full Usage: this.AsyncReconstruction

Parameters:
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>
lang : string
reconstructionRequest : ReconstructionRequest
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>

this.AsyncSearchOnTrip

Full Usage: this.AsyncSearchOnTrip

Parameters:
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>
lang : string
searchOnTripRequest : SearchOnTripRequest
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>

this.AsyncServerInfo

Full Usage: this.AsyncServerInfo

Parameters:
Returns: Async<RawCommon option * RawResult option>
lang : string
serverInfoRequest : ServerInfoRequest
Returns: Async<RawCommon option * RawResult option>

this.AsyncStationBoard

Full Usage: this.AsyncStationBoard

Parameters:
Returns: Async<RawCommon option * RawResult option * RawJny array option>
lang : string
stationBoardRequest : StationBoardRequest
Returns: Async<RawCommon option * RawResult option * RawJny array option>

this.AsyncTripSearch

Full Usage: this.AsyncTripSearch

Parameters:
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>
lang : string
tripSearchRequest : TripSearchRequest
transformCfg : Cfg -> Cfg
Returns: Async<RawCommon option * RawResult option * RawOutCon array option>

this.Dispose

Full Usage: this.Dispose

Type something to start searching.