android-components / mozilla.components.browser.session.engine.request / LoadRequestOption

LoadRequestOption

enum class LoadRequestOption (source)

Simple enum class for defining the set of characteristics of a LoadRequest.

Facilities for combining these and testing the resulting bit mask also exist as operators.

This should be generalized, but it’s not clear if it will be useful enough to go into kotlin.support.

Enum Values

Name Summary
NONE  
REDIRECT  
WEB_CONTENT  

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.