Class AsyncDriverClient


  • public class AsyncDriverClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncDriverClient

        public AsyncDriverClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawDriverClient withRawResponse()
        Get responses with HTTP metadata like headers
      • updateV1

        public java.util.concurrent.CompletableFuture<DriverUpdateRes> updateV1​(DriverUpdateReq request)
        Records driver location updates. Automatically writes to all IN_PROGRESS task groups and their associated cargos. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)
      • updateV1

        public java.util.concurrent.CompletableFuture<DriverUpdateRes> updateV1​(DriverUpdateReq request,
                                                                                RequestOptions requestOptions)
        Records driver location updates. Automatically writes to all IN_PROGRESS task groups and their associated cargos. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)