TopsortAuctionsHttpService

Implementation of AuctionsHttpService that performs real HTTP calls

Properties

Link copied to clipboard

The current service instance for auctions, can be replaced for testing

Functions

Link copied to clipboard

Resets to the default implementation

Link copied to clipboard
open suspend override fun runAuctions(request: AuctionRequest): AuctionResponse

Executes an auction request on Dispatchers.IO, delegating to the current service instance.

Link copied to clipboard
open override fun runAuctionsSync(auctionRequest: AuctionRequest): AuctionResponse?

Executes an auction request and returns the response

Link copied to clipboard

Sets a mock implementation for testing purposes