enable method

void enable()

Enables the custom proxy by setting a global HTTP override.

Sets HttpOverrides.global to a new instance of CustomProxyHttpOverride configured with the proxy settings from this object's string representation.

Implementation

void enable() => HttpOverrides.global = CustomProxyHttpOverride.withProxy(toString());