Store the HTTP Client #

Store Pragma-provided HTTP client in your plugin #

When the platform starts, the Fleet service calls the Fleet plugin init() method, which provides an HTTP client that you can use for communication with external resources for capacity. Implement the init() function to store the passed in TimedHttpClient value on your plugin.

fun init(
  client: TimedHttpClient
)  
Consider inheriting DefaultFleetPlugin for an implementation of this.