Struct puffin_http::Client [−][src]
pub struct Client { /* fields omitted */ }
Expand description
Connect to a crate::Server
, reading profile data
and feeding it to a puffin::FrameView
.
Will retry connection until it succeeds, and reconnect on failures.
Implementations
Connects to the given http address receives puffin profile data
that is then fed to puffin::GlobalProfiler
.
You can then view the data with
puffin_egui
or puffin-imgui
.
puffin_http::Client::new("127.0.0.1:8585".to_owned());
Get the current data.