Broflake's controlling process should have control over whether Broflake uses domain fronting. When a controlling process -- like Flashlight -- constructs a Broflake client, it should be able to inject any kind of customized HTTP client into Broflake.
This is a simple PR which makes this possible. To configure Broflake to use a domain fronted HTTP client, you'd just provide that HTTP client as part of the WebRTCOptions struct at construction time.
Broflake's controlling process should have control over whether Broflake uses domain fronting. When a controlling process -- like Flashlight -- constructs a Broflake client, it should be able to inject any kind of customized HTTP client into Broflake.
This is a simple PR which makes this possible. To configure Broflake to use a domain fronted HTTP client, you'd just provide that HTTP client as part of the
WebRTCOptions
struct at construction time.