WaitOnPumpStatusChange
public enum WaitOnPumpStatusChange
Wait for a status change on a given pump
Uses **long polling** to wait for a status change on a given pump. Returns as soon as the status has changed or after the number of seconds provided by the optional `timeout` query parameter (default timeout is 30 seconds). In case of timeout (408 status code) you're safe to start the request again. Instantaneously returns if `lastStatus` was given and already changed between request. If successful, it returns the same structure as the normal status call
Only use after approaching, otherwise returns 403 Forbidden
.
-
Undocumented
Declaration
Swift
public static var service: FuelingAPIService<FuelingAPI.Fueling.WaitOnPumpStatusChange.Response>
-
Use long polling for status updates
See moreDeclaration
Swift
public enum PCFuelingUpdate : String, Codable, Equatable, CaseIterable
-
Pump status
See moreDeclaration
Swift
public enum PCFuelingLastStatus : String, Codable, Equatable, CaseIterable
-
Undocumented
See moreDeclaration
Swift
public final class Request : FuelingAPIRequest<Response>
-
Undocumented
See moreDeclaration
Swift
public enum Response : APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible