android-components / / RustHttpConfig


object RustHttpConfig (source)

An object allowing configuring the HTTP client used by Rust code.


Name Summary
setClient fun setClient(c: Lazy<Client>): Unit
Set the HTTP client to be used by all Rust code.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.