MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / http_client

Function http_client

crates/server/tests/widget_module_integration.rs:110–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110fn http_client() -> Client {
111 Client::builder()
112 .cookie_store(true)
113 .timeout(Duration::from_secs(10))
114 .build()
115 .expect("Failed to build HTTP client")
116}
117
118async fn login_admin(client: &Client, base_url: &str) {
119 let resp = client

Calls

no outgoing calls

Tested by

no test coverage detected